diff options
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/base/error_codes.tpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/error_codes.tpl.h b/src/mongo/base/error_codes.tpl.h index 1e8ee83c21d..f3e58309c2b 100644 --- a/src/mongo/base/error_codes.tpl.h +++ b/src/mongo/base/error_codes.tpl.h @@ -151,7 +151,7 @@ template <int32_t code> constexpr bool isNamedCode = false; //#for $ec in $codes template <> -constexpr bool isNamedCode<ErrorCodes::$ec.name> = true; +constexpr inline bool isNamedCode<ErrorCodes::$ec.name> = true; //#end for MONGO_COMPILER_NORETURN void throwExceptionForStatus(const Status& status); |