summaryrefslogtreecommitdiff
path: root/indra/llcommon/llstring.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-02-24 16:50:47 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-02-24 16:50:47 -0500
commit4edf93d6d991af3f1aa0aba764388ad52ab1464b (patch)
tree0e2fa74c3dc371a858c38cb0ccbd66e9a034b1f3 /indra/llcommon/llstring.h
parent5adc39753b9392050d961eb01edb31f8a6fbb05d (diff)
"Then there's Windows..." Fix llstring.h to build there too.
Diffstat (limited to 'indra/llcommon/llstring.h')
-rw-r--r--indra/llcommon/llstring.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/indra/llcommon/llstring.h b/indra/llcommon/llstring.h
index e4ae54cec5..5085d32f7f 100644
--- a/indra/llcommon/llstring.h
+++ b/indra/llcommon/llstring.h
@@ -253,32 +253,32 @@ public:
std::vector<string_type >& tokens,
const string_type& delims);
/// like simple scan overload, but returns scanned vector
- LL_COMMON_API static std::vector<string_type> getTokens(const string_type& instr,
- const string_type& delims);
+ static std::vector<string_type> getTokens(const string_type& instr,
+ const string_type& delims);
/// add support for keep_delims and quotes (either could be empty string)
- LL_COMMON_API static void getTokens(const string_type& instr,
- std::vector<string_type>& tokens,
- const string_type& drop_delims,
- const string_type& keep_delims,
- const string_type& quotes=string_type());
+ static void getTokens(const string_type& instr,
+ std::vector<string_type>& tokens,
+ const string_type& drop_delims,
+ const string_type& keep_delims,
+ const string_type& quotes=string_type());
/// like keep_delims-and-quotes overload, but returns scanned vector
- LL_COMMON_API static std::vector<string_type> getTokens(const string_type& instr,
- const string_type& drop_delims,
- const string_type& keep_delims,
- const string_type& quotes=string_type());
+ static std::vector<string_type> getTokens(const string_type& instr,
+ const string_type& drop_delims,
+ const string_type& keep_delims,
+ const string_type& quotes=string_type());
/// add support for escapes (could be empty string)
- LL_COMMON_API static void getTokens(const string_type& instr,
- std::vector<string_type>& tokens,
- const string_type& drop_delims,
- const string_type& keep_delims,
- const string_type& quotes,
- const string_type& escapes);
+ static void getTokens(const string_type& instr,
+ std::vector<string_type>& tokens,
+ const string_type& drop_delims,
+ const string_type& keep_delims,
+ const string_type& quotes,
+ const string_type& escapes);
/// like escapes overload, but returns scanned vector
- LL_COMMON_API static std::vector<string_type> getTokens(const string_type& instr,
- const string_type& drop_delims,
- const string_type& keep_delims,
- const string_type& quotes,
- const string_type& escapes);
+ static std::vector<string_type> getTokens(const string_type& instr,
+ const string_type& drop_delims,
+ const string_type& keep_delims,
+ const string_type& quotes,
+ const string_type& escapes);
LL_COMMON_API static void formatNumber(string_type& numStr, string_type decimals);
LL_COMMON_API static bool formatDatetime(string_type& replacement, string_type token, string_type param, S32 secFromEpoch);
@@ -748,6 +748,7 @@ struct InString
iter(b),
end(e)
{}
+ virtual ~InString() {}
bool done() const { return iter == end; }
/// Is the current character (*iter) escaped? This implementation can