diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-12-14 12:01:51 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-12-14 12:01:51 -0500 |
commit | 132e708fec50fd756b822925313456c70a4ff27f (patch) | |
tree | bc5ac17d8e0cfe8e5c550615789da8a4eabab541 /indra/llcommon/llmemorystream.h | |
parent | 9ffcafb64b4483c315d00e88ffc1438bce1f7915 (diff) |
SL-10153: Fix previous commit for non-Windows systems.
Move Windows-flavored llstring_getoptenv() to Windows-specific section of
llstring.cpp.
boost::optional type must be stated explicitly to initialize with a value.
On platforms where llwchar is the same as wchar_t, LLWString is the same as
std::wstring, so ll_convert specializations for std::wstring would duplicate
those for LLWString. Defend against that.
The compilers we use don't like 'return condition? { expr } : {}', in which we
hope to construct and return an instance of the declared return type without
having to restate the type. It works to use an explicit 'if' statement.
Diffstat (limited to 'indra/llcommon/llmemorystream.h')
0 files changed, 0 insertions, 0 deletions