From 443b34ad95cfb51fb89233f85da7129ba2a58e3b Mon Sep 17 00:00:00 2001 From: Sashi Penta Date: Thu, 16 Oct 2014 13:56:33 -0700 Subject: [PATCH] Fix C++ Unittests build issue. Change-Id: I82de00e976ebcf12b6f508e6fb6a222b6cd75e1f --- unittests/tests.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.7.4