diff options
author | Jacob Evans <jacob.evans@10gen.com> | 2020-07-14 16:23:34 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-07-14 21:18:59 +0000 |
commit | d3430cddfc340f76ac71a58587a1a14c6c506b05 (patch) | |
tree | aaef6db10fa1f10d6915daa579c6e40683291f7d | |
parent | 5bb3a09729ea6d03b3a17915bb4bc3e6e5105fdd (diff) | |
download | mongo-d3430cddfc340f76ac71a58587a1a14c6c506b05.tar.gz |
SERVER-49043 Fix code after return
-rw-r--r-- | src/mongo/db/cst/c_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/cst/c_node.cpp b/src/mongo/db/cst/c_node.cpp index b677797deff..35093d90ec8 100644 --- a/src/mongo/db/cst/c_node.cpp +++ b/src/mongo/db/cst/c_node.cpp @@ -107,8 +107,8 @@ auto printValue(const T& payload) { }, [](const UserSymbol& userSymbol) { return "<UserSymbol "s + userSymbol.symbol + ">"; }, [](const UserJavascriptWithScope& userJavascriptWithScope) { - return "<UserJavascriptWithScope "s + userJavascriptWithScope.code + ", "; - userJavascriptWithScope.scope.toString() + ">"; + return "<UserJavascriptWithScope "s + userJavascriptWithScope.code + ", " + + userJavascriptWithScope.scope.toString() + ">"; }, [](const UserInt& userInt) { return "<UserInt "s + std::to_string(userInt) + ">"; }, [](const UserTimestamp& userTimestamp) { |