Fixed a compilation error in DiscoveryManagerTest.cpp.
authorcoderhyme <jhyo.kim@samsung.com>
Fri, 4 Mar 2016 08:48:41 +0000 (00:48 -0800)
committerUze Choi <uzchoi@samsung.com>
Sat, 5 Mar 2016 02:34:18 +0000 (02:34 +0000)
The issue occurs when compiled with the newer compiler(i.e. gcc 4.8)

Change-Id: Ia36ebc705f29085d794910714cf24cc6999a85da
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5421
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-encapsulation/unittests/DiscoveryManagerTest.cpp

index fd39a02..8b560f0 100755 (executable)
@@ -55,6 +55,9 @@ public:
         if (m_task) m_task->cancel();
     }
 
+    ScopedTask(ScopedTask&&) = default;
+    ScopedTask& operator=(ScopedTask&&) = default;
+
     RCSDiscoveryManager::DiscoveryTask* operator->()
     {
         return m_task.get();