From: Sashi Penta Date: Thu, 16 Oct 2014 20:56:33 +0000 (-0700) Subject: Fix C++ Unittests build issue. X-Git-Tag: 1.2.0+RC1~2148 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=443b34ad95cfb51fb89233f85da7129ba2a58e3b;p=platform%2Fupstream%2Fiotivity.git Fix C++ Unittests build issue. Change-Id: I82de00e976ebcf12b6f508e6fb6a222b6cd75e1f --- diff --git a/unittests/tests.cpp b/unittests/tests.cpp index 9600374..8275592 100644 --- a/unittests/tests.cpp +++ b/unittests/tests.cpp @@ -35,9 +35,10 @@ using namespace OC; using namespace std; // Entity handler used for register and find test -void entityHandler_rf(std::shared_ptr request, +OCEntityHandlerResult entityHandler_rf(std::shared_ptr request, std::shared_ptr response) { + return OC_EH_OK; } // Condition variables used for register and find @@ -62,7 +63,7 @@ TEST(Resource, rf) { OC::ModeType::Both, "0.0.0.0", // By setting to "0.0.0.0", it binds to all available interfaces 0, // Uses randomly available port - OC::QualityOfService::LowQoS + OC::QualityOfService::LowQos }; OCPlatform platform(cfg);