diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-19 16:14:21 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-19 17:17:49 -0400 |
commit | 1d6502682685ec60e8d517468562bc2c2bdbeeed (patch) | |
tree | 26e89d61642a12fb3f5550911c0578999f93d2d5 | |
parent | 6b311efc1742cdb94381cc929c85ce8e5480b218 (diff) | |
download | mongo-1d6502682685ec60e8d517468562bc2c2bdbeeed.tar.gz |
SERVER-29727 Fix unused variable warning in mongo/util/uuid.cpp
-rw-r--r-- | src/mongo/util/uuid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/uuid.cpp b/src/mongo/util/uuid.cpp index e3326b718bf..3c041e64010 100644 --- a/src/mongo/util/uuid.cpp +++ b/src/mongo/util/uuid.cpp @@ -54,7 +54,7 @@ StatusWith<UUID> UUID::parse(BSONElement from) { try { return UUID{from.uuid()}; } catch (const UserException& e) { - return exceptionToStatus(); + return e.toStatus(); } } |