[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "basecomponent" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jul 20 09:36:36 CDT 2011


branch "basecomponent" has been updated
       via  d1f0359e49ca1da0466886b027452960bf1f233b (commit)
      from  5712921cfba3ccd4303f1da2bc0df19ba4c9e287 (commit)

Summary of changes:
 include/AsteriskSCF/Component/.Component.h.swp |  Bin 0 -> 16384 bytes
 include/AsteriskSCF/Component/TestContext.h    |    2 ++
 src/Component/.Component.cpp.swp               |  Bin 0 -> 45056 bytes
 src/Component/Component.cpp                    |    2 +-
 4 files changed, 3 insertions(+), 1 deletions(-)
 create mode 100644 include/AsteriskSCF/Component/.Component.h.swp
 create mode 100644 src/Component/.Component.cpp.swp


- Log -----------------------------------------------------------------
commit d1f0359e49ca1da0466886b027452960bf1f233b
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Wed Jul 20 09:34:01 2011 -0500

    Initializer order fix.

diff --git a/include/AsteriskSCF/Component/.Component.h.swp b/include/AsteriskSCF/Component/.Component.h.swp
new file mode 100644
index 0000000..938ea1c
Binary files /dev/null and b/include/AsteriskSCF/Component/.Component.h.swp differ
diff --git a/include/AsteriskSCF/Component/TestContext.h b/include/AsteriskSCF/Component/TestContext.h
index ff8576d..97331a5 100644
--- a/include/AsteriskSCF/Component/TestContext.h
+++ b/include/AsteriskSCF/Component/TestContext.h
@@ -31,6 +31,8 @@ public:
         mMsg = "Invalid Test Mode. Mode " + mode + " is not set.";
     }
 
+    ~InvalidTestMode() throw();
+
     virtual const char* what() const throw()
     {
         return mMsg.c_str();
diff --git a/src/Component/.Component.cpp.swp b/src/Component/.Component.cpp.swp
new file mode 100644
index 0000000..56ee1c5
Binary files /dev/null and b/src/Component/.Component.cpp.swp differ
diff --git a/src/Component/Component.cpp b/src/Component/Component.cpp
index 7ce9efe..d75e82d 100644
--- a/src/Component/Component.cpp
+++ b/src/Component/Component.cpp
@@ -222,10 +222,10 @@ private:
 
 Component::Component(const AsteriskSCF::System::Logging::Logger& logger,
                      const std::string& componentDiscoveryCategory) :
+      mLogger(logger),
       mInitialized(false),
       mRunning(false),
       mPublishTestInterface(false),
-      mLogger(logger),
       mComponentDiscoveryCategory(componentDiscoveryCategory)
 {
 }

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


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list