Skip to content
Snippets Groups Projects
Commit 24501dfa authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-10297: Use initializer_list<std::string> vs. <std::string_view>.

This is somewhat more expensive for string literals, but switching to
std::string_view implies more extensive changes, to be considered separately.
parent a58eea74
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,6 @@
#include <boost/unordered_set.hpp>
#include <initializer_list>
#include <list>
#include <string_view>
#include <typeinfo>
#include <vector>
#include "mutex.h"
......@@ -114,7 +113,7 @@ class LLSingletonBase: private boost::noncopyable
// delegate logging calls to llsingleton.cpp
public:
typedef std::initializer_list<std::string_view> string_params;
typedef std::initializer_list<const std::string> string_params;
protected:
static void logerrs (const string_params&);
static void logwarns (const string_params&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment