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.master
parent
a58eea7419
commit
24501dfa0e
|
|
@ -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 @@ protected:
|
|||
|
||||
// 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&);
|
||||
|
|
|
|||
Loading…
Reference in New Issue