View | Details | Raw Unified | Return to bug 241709
Collapse All | Expand All

(-)databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h (+11 lines)
Line 0 Link Here
1
--- src/mongo/base/error_codes.tpl.h.orig	2019-08-13 23:47:34 UTC
2
+++ src/mongo/base/error_codes.tpl.h
3
@@ -118,7 +118,7 @@ template <int32_t code>
4
 constexpr bool isNamedCode = false;
5
 //#for $ec in $codes
6
 template <>
7
-constexpr bool isNamedCode<ErrorCodes::$ec.name> = true;
8
+constexpr inline bool isNamedCode<ErrorCodes::$ec.name> = true;
9
 //#end for
10
 
11
 MONGO_COMPILER_NORETURN void throwExceptionForStatus(const Status& status);

Return to bug 241709