diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-03-25 19:17:26 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-03-26 10:17:08 -0400 |
commit | 06b58e9c7c349ce81504cf6ce2823082205ab0f7 (patch) | |
tree | e56a7389a28887ad11fcd80bcdf7e21cccd033ab /src/mongo/base/status.h | |
parent | 05533d52a29589f54ec9ee582e770a5fdda552a5 (diff) | |
download | mongo-06b58e9c7c349ce81504cf6ce2823082205ab0f7.tar.gz |
SERVER-17736 Remove obsolete C++ driver symbol export miscellanea
Diffstat (limited to 'src/mongo/base/status.h')
-rw-r--r-- | src/mongo/base/status.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mongo/base/status.h b/src/mongo/base/status.h index e8b82023179..2e1b73f4ddd 100644 --- a/src/mongo/base/status.h +++ b/src/mongo/base/status.h @@ -32,7 +32,6 @@ #include <string> #include "mongo/base/error_codes.h" -#include "mongo/client/export_macros.h" #include "mongo/platform/atomic_word.h" namespace mongo { @@ -60,7 +59,7 @@ namespace mongo { * TODO: generate base/error_codes.h out of a description file * TODO: check 'location' duplicates against assert numbers */ - class MONGO_CLIENT_API Status { + class Status { public: // Short-hand for returning an OK status. static inline Status OK(); @@ -145,16 +144,16 @@ namespace mongo { static inline void unref(ErrorInfo* error); }; - MONGO_CLIENT_API inline bool operator==(const ErrorCodes::Error lhs, const Status& rhs); + inline bool operator==(const ErrorCodes::Error lhs, const Status& rhs); - MONGO_CLIENT_API inline bool operator!=(const ErrorCodes::Error lhs, const Status& rhs); + inline bool operator!=(const ErrorCodes::Error lhs, const Status& rhs); // // Convenience method for unittest code. Please use accessors otherwise. // - MONGO_CLIENT_API std::ostream& operator<<(std::ostream& os, const Status& status); - MONGO_CLIENT_API std::ostream& operator<<(std::ostream& os, ErrorCodes::Error); + std::ostream& operator<<(std::ostream& os, const Status& status); + std::ostream& operator<<(std::ostream& os, ErrorCodes::Error); } // namespace mongo |