summaryrefslogtreecommitdiff
path: root/indra/llcommon/lllog.cpp
diff options
context:
space:
mode:
authorChristian Goetze <cg@lindenlab.com>2008-12-18 00:39:23 +0000
committerChristian Goetze <cg@lindenlab.com>2008-12-18 00:39:23 +0000
commita8d88418ce8d716df2d7b7eb94af8a04c81cb1ca (patch)
tree362bb08472a471181ba5ad127f138e5f09b4d8c0 /indra/llcommon/lllog.cpp
parentd2a2b7fd552135b66aa7753eba4833b1197557b5 (diff)
QAR-1075 svn merge -r106114:106224 svn+ssh://svn.lindenlab.com/svn/linden/branches/parcel-stats-merge
Diffstat (limited to 'indra/llcommon/lllog.cpp')
-rw-r--r--indra/llcommon/lllog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llcommon/lllog.cpp b/indra/llcommon/lllog.cpp
index 178f02e215..b75a07bf24 100644
--- a/indra/llcommon/lllog.cpp
+++ b/indra/llcommon/lllog.cpp
@@ -45,8 +45,8 @@ public:
LLLogImpl(LLApp* app) : mApp(app) {}
~LLLogImpl() {}
- void log(const std::string message, LLSD& info);
- bool useLegacyLogMessage(const std::string message);
+ void log(const std::string &message, LLSD& info);
+ bool useLegacyLogMessage(const std::string &message);
private:
LLApp* mApp;
@@ -54,7 +54,7 @@ private:
//@brief Function to log a message to syslog for streambase to collect.
-void LLLogImpl::log(const std::string message, LLSD& info)
+void LLLogImpl::log(const std::string &message, LLSD& info)
{
static S32 sequence = 0;
LLSD log_config = mApp->getOption("log-messages");
@@ -74,7 +74,7 @@ void LLLogImpl::log(const std::string message, LLSD& info)
}
//@brief Function to check if specified legacy log message should be sent.
-bool LLLogImpl::useLegacyLogMessage(const std::string message)
+bool LLLogImpl::useLegacyLogMessage(const std::string &message)
{
LLSD log_config = mApp->getOption("log-messages");
if (log_config.has(message))
@@ -100,12 +100,12 @@ LLLog::~LLLog()
mImpl = NULL;
}
-void LLLog::log(const std::string message, LLSD& info)
+void LLLog::log(const std::string &message, LLSD& info)
{
if (mImpl) mImpl->log(message, info);
}
-bool LLLog::useLegacyLogMessage(const std::string message)
+bool LLLog::useLegacyLogMessage(const std::string &message)
{
if (mImpl)
{