summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-05-12 22:35:09 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-05-12 22:35:09 -0400
commit24501dfa0ee3fd6f5755deb1bc5261cd297a2bc7 (patch)
tree968687ff69b5703b348fc40cfa01f8ed190defa8 /indra/llcommon
parenta58eea7419ac9aec6ca08bcfca17ee14bf62e72c (diff)
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.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsingleton.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llcommon/llsingleton.h b/indra/llcommon/llsingleton.h
index 163c08099f..7c81d65a8b 100644
--- a/indra/llcommon/llsingleton.h
+++ b/indra/llcommon/llsingleton.h
@@ -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&);