[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Apr 12 16:34:44 CDT 2011


branch "master" has been updated
       via  9269caafa5e14d096519ac719c35304e616a673a (commit)
      from  12e7b02ac0de5f2e71591870faca2932525a5984 (commit)

Summary of changes:
 client/test/ExpectedLogOut.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 9269caafa5e14d096519ac719c35304e616a673a
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Tue Apr 12 16:34:42 2011 -0500

    Resolve a variable shadowing warning.

diff --git a/client/test/ExpectedLogOut.h b/client/test/ExpectedLogOut.h
index 2fdcb02..5617129 100644
--- a/client/test/ExpectedLogOut.h
+++ b/client/test/ExpectedLogOut.h
@@ -24,24 +24,24 @@ class ExpectedLogOut : public LogOut
 {
 public:
     ExpectedLogOut(const std::string& expected) :
-        expected(expected)
+        mExpected(expected)
     {
     }
 
     void logs(const std::string& name, Level logLevel,
         const std::string& message)
     {
-        actual << name << ":" << logLevel << ":" << message << '\n';
+        mActual << name << ":" << logLevel << ":" << message << '\n';
     }
 
     void check()
     {
-        BOOST_CHECK_EQUAL(expected, actual.str());
+        BOOST_CHECK_EQUAL(mExpected, mActual.str());
     }
 
 private:
-    std::string expected;
-    std::stringstream actual;
+    std::string mExpected;
+    std::stringstream mActual;
 };
 
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list