diff options
Diffstat (limited to 'src/mongo/util/stacktrace_somap.h')
-rw-r--r-- | src/mongo/util/stacktrace_somap.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mongo/util/stacktrace_somap.h b/src/mongo/util/stacktrace_somap.h index a392c2838cd..9e2db532cc8 100644 --- a/src/mongo/util/stacktrace_somap.h +++ b/src/mongo/util/stacktrace_somap.h @@ -37,15 +37,12 @@ namespace mongo { class SharedObjectMapInfo { public: explicit SharedObjectMapInfo(BSONObj obj); - - // Optional string containing extra unwinding information in JSON form. - const std::string& json() const { - return _json; + const BSONObj& obj() const { + return _obj; } private: BSONObj _obj; - std::string _json; }; // Available after the MONGO_INITIALIZER has run. |