X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fresource-encapsulation%2Fsrc%2FresourceCache%2Funittests%2FDataCacheTest.cpp;h=e00d506753718d0a80df7311e3515ceb83ffc5da;hb=c315c87e07c4080ecd0ef488e7a1047bc3c509b2;hp=b7a8d5673714009d201c84c21d721669b75b568e;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/resource-encapsulation/src/resourceCache/unittests/DataCacheTest.cpp b/service/resource-encapsulation/src/resourceCache/unittests/DataCacheTest.cpp index b7a8d56..e00d506 100644 --- a/service/resource-encapsulation/src/resourceCache/unittests/DataCacheTest.cpp +++ b/service/resource-encapsulation/src/resourceCache/unittests/DataCacheTest.cpp @@ -58,7 +58,8 @@ class DataCacheTest : public TestWithMock mocks.OnCall(pResource.get(), PrimitiveResource::isObservable).Return(false); cacheHandler.reset(new DataCache()); - cb = ([](std::shared_ptr, const RCSResourceAttributes &)->OCStackResult + cb = ([](std::shared_ptr, + const RCSResourceAttributes &, int) -> OCStackResult { return OC_STACK_OK; });