summaryrefslogtreecommitdiff
path: root/indra/newview/llversioninfo.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2018-05-24 16:07:29 -0400
committerNat Goodspeed <nat@lindenlab.com>2018-05-24 16:07:29 -0400
commit0ebdfaa5fc72a6b3a65d4acd75697b77cc8738d7 (patch)
tree933444e64669ba2e532fb8da7ab257206b53aaca /indra/newview/llversioninfo.cpp
parentec8ee339396aedb4032ae123843ae630546cd588 (diff)
parentb247c4e42434715459df93b5cbf6adb15d3c4cc4 (diff)
Automated merge with ssh://bitbucket.org/nat_linden/maint-maint-8675
Diffstat (limited to 'indra/newview/llversioninfo.cpp')
-rw-r--r--indra/newview/llversioninfo.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llversioninfo.cpp b/indra/newview/llversioninfo.cpp
index 375dce485d..4e07223784 100644
--- a/indra/newview/llversioninfo.cpp
+++ b/indra/newview/llversioninfo.cpp
@@ -101,14 +101,11 @@ namespace
{
// LL_VIEWER_CHANNEL is a macro defined on the compiler command line. The
// macro expands to the string name of the channel, but without quotes. We
- // need to turn it into a quoted string. This macro trick does that.
-#define stringize_inner(x) #x
-#define stringize_outer(x) stringize_inner(x)
-
+ // need to turn it into a quoted string. LL_TO_STRING() does that.
/// Storage of the channel name the viewer is using.
// The channel name is set by hardcoded constant,
// or by calling LLVersionInfo::resetChannel()
- std::string sWorkingChannelName(stringize_outer(LL_VIEWER_CHANNEL));
+ std::string sWorkingChannelName(LL_TO_STRING(LL_VIEWER_CHANNEL));
// Storage for the "version and channel" string.
// This will get reset too.