diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-11-11 19:00:37 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-11-11 19:00:37 +0000 |
commit | ad76d8e4bf93afe6fc92b980ca6e113b8994c25d (patch) | |
tree | 676055b2921a6aff70b98b12b7adbc4a6700f2ba /databases | |
parent | 9747486c8f60b041c3899685164035944986ebd3 (diff) | |
download | ports-ad76d8e4bf93afe6fc92b980ca6e113b8994c25d.tar.gz ports-ad76d8e4bf93afe6fc92b980ca6e113b8994c25d.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h b/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h new file mode 100644 index 000000000000..b8846b503b70 --- /dev/null +++ b/databases/mongodb36/files/patch-src_mongo_base_error__codes.tpl.h @@ -0,0 +1,11 @@ +--- src/mongo/base/error_codes.tpl.h.orig 2019-08-13 23:47:34 UTC ++++ src/mongo/base/error_codes.tpl.h +@@ -118,7 +118,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); |