[Common] Removed unnecessary code.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 8 Oct 2015 12:38:40 +0000 (14:38 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Thu, 8 Oct 2015 12:38:40 +0000 (14:38 +0200)
[Verification] Code compiles, logic was not altered.

Change-Id: Idffc67cf7dd4b4563fc7094b1853f1c14634da18
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/common/task-queue.cpp
src/common/task-queue.h

index 342d52988354460529602a6516117ed372df53e7..2fc305cd0ae87212c276b8b6eec2afa13ebf92d9 100755 (executable)
@@ -64,11 +64,4 @@ void TaskQueue::Async(const std::function<void()>& work) {
     g_idle_add(AfterWorkCallback<void>, d);
 }
 
-//TODO check if it would be needed in future
-//void TaskQueue::AsyncResponse(int callback_handle, const std::shared_ptr<picojson::value>& response) {
-//    Async<picojson::value>([callback_handle](const std::shared_ptr<picojson::value>& response) {
-//        wrt::common::NativeContext::GetInstance()->InvokeCallback(callback_handle,
-//                                                                 response->serialize());
-//    }, response);
-//}
 } // namespace common
index a9d6d4729b9922c564f35e0c3a6f82d205bb5ac5..94df211365f6866210ca7ebe5853c660ef7c22bd 100755 (executable)
@@ -73,9 +73,6 @@ public:
      */
     void Async(const std::function<void()>& work);
 
-    //TODO not needed now, but maybe in future
-//    void AsyncResponse(int callback_handle, const std::shared_ptr<picojson::value>& response);
-
 private:
     TaskQueue() {}