From 58a2ba9581ff9288c331cf7b92b6b14bb5f5e9a3 Mon Sep 17 00:00:00 2001 From: Martin Reddy Date: Wed, 9 Sep 2009 11:54:23 +0000 Subject: DEV-39441: Removed include for boost/regex.hpp from llstring.h (and fixed up viewer files that relied on this being included for them). Also changed LLStringUtil::getSubstitution() to be a private method. Reviewed by steve. --- indra/llcommon/llstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llcommon') diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h index 3b1379c76a..d0def896cf 100644 --- a/indra/llcommon/llstring.h +++ b/indra/llcommon/llstring.h @@ -36,7 +36,6 @@ #include #include #include -#include #include "llsd.h" #include "llfasttimer.h" @@ -232,7 +231,6 @@ public: typedef std::map format_map_t; static void getTokens(const std::basic_string& instr, std::vector >& tokens, const std::basic_string& delims); - static size_type getSubstitution(const std::basic_string& instr, size_type& start, std::vector >& tokens); static void formatNumber(std::basic_string& numStr, std::basic_string decimals); static bool formatDatetime(std::basic_string& replacement, std::basic_string token, std::basic_string param, S32 secFromEpoch); static S32 format(std::basic_string& s, const format_map_t& substitutions); @@ -347,6 +345,8 @@ public: static void testHarness(); #endif +private: + static size_type getSubstitution(const std::basic_string& instr, size_type& start, std::vector >& tokens); }; template std::basic_string LLStringUtilBase::null; -- cgit v1.2.3