summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
-rw-r--r--llvm/lib/Support/Error.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp
index 5bda6aae690..9007e694ec7 100644
--- a/llvm/lib/Support/Error.cpp
+++ b/llvm/lib/Support/Error.cpp
@@ -36,9 +36,8 @@ namespace {
void ErrorInfoBase::anchor() {}
char ErrorInfoBase::ID = 0;
-
-template <> char ErrorInfo<ErrorList>::ID = 0;
-template <> char ErrorInfo<ECError>::ID = 0;
+char ErrorList::ID = 0;
+char ECError::ID = 0;
static ManagedStatic<ErrorErrorCategory> ErrorErrorCat;
OpenPOWER on IntegriCloud