| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/databases/mongodb40/files/ |
Upload File : |
# based on: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245976#c12 # https://jira.mongodb.org/browse/SERVER-44025 # https://github.com/mongodb/mongo/commit/e484c9af6b4ae4a1d22c905e252ad3ad13f30bfc --- src/mongo/base/error_codes.tpl.h.orig 2020-06-07 14:38:05 UTC +++ src/mongo/base/error_codes.tpl.h @@ -127,7 +127,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);