Use functor object as main argument of callAndWait 47/36747/4
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Wed, 11 Mar 2015 09:44:44 +0000 (10:44 +0100)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 17 Mar 2015 14:49:13 +0000 (15:49 +0100)
commit544c17889148b36b2f22eec4cc40656a1d4a4046
treeb44cea875fbdd57ffa97f38a83ff1df51467d07a
parent1fa1192276c890e558fc168dd9a4bfb780f8132e
Use functor object as main argument of callAndWait

Previous solution was based on std::function, that causes problems
because std::function template arguments needed to be explicitely
defined.

Functor simplifies usage of callAndWait.

Change-Id: If4f8a640848e41042e6841e49354510c08db5357
src/common/timeout.h