diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-09-12 11:19:22 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-09-13 14:18:47 -0400 |
commit | 4ba934d3459b4ef7384ff55b5f2f0d20380930a1 (patch) | |
tree | 146bc9efaf6246fdba4bbe46c33089b24ef0ba06 /src/mongo/util/text.h | |
parent | e4a55dd9195127c6733d8f7269eea032feafd6ea (diff) | |
download | mongo-4ba934d3459b4ef7384ff55b5f2f0d20380930a1.tar.gz |
Make StringSplitter::join's first parameter be a const reference.
Diffstat (limited to 'src/mongo/util/text.h')
-rw-r--r-- | src/mongo/util/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/text.h b/src/mongo/util/text.h index 40ee2cbae2d..5cc0f0ef3a9 100644 --- a/src/mongo/util/text.h +++ b/src/mongo/util/text.h @@ -58,7 +58,7 @@ namespace mongo { static std::vector<std::string> split( const std::string& big , const std::string& splitter ); - static std::string join( std::vector<std::string>& l , const std::string& split ); + static std::string join( const std::vector<std::string>& l , const std::string& split ); private: const char * _big; |