IOT-57 fix. We were mis-assigning a pointer during construction
authorErich Keane <erich.keane@intel.com>
Thu, 2 Oct 2014 18:07:32 +0000 (11:07 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Oct 2014 18:08:52 +0000 (11:08 -0700)
Change-Id: Ifc2301b6b7a9146940290c00d1fb13568e8472a9

src/InProcClientWrapper.cpp

index fb00d60..457a8f0 100644 (file)
@@ -33,7 +33,7 @@ namespace OC
     InProcClientWrapper::InProcClientWrapper(OC::OCPlatform& owner, std::weak_ptr<std::mutex> csdkLock, PlatformConfig cfg)
             : IClientWrapper(owner),
               m_threadRun(false), m_csdkLock(csdkLock),
-              m_owner(m_owner),
+              m_owner(owner),
               m_cfg { cfg }
     {
         // if the config type is server, we ought to never get called.  If the config type