commit | 04aa7116de51c6623f56512958cdd1c54867ed2d | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Thu Aug 22 19:16:25 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Thu Aug 22 19:16:25 2013 -0700 |
tree | da041f1218bd8abc8ea2f34c1bd44489aedcbe42 | |
parent | 0960b6569b7be5aea31b98bedeb882b9d309a993 [diff] [blame] |
If using std, need using namespace func_lib::placeholders;
diff --git a/tests/test-get-async.cpp b/tests/test-get-async.cpp index 76ae5c1..901c70e 100644 --- a/tests/test-get-async.cpp +++ b/tests/test-get-async.cpp
@@ -13,6 +13,11 @@ using namespace std; using namespace ndn; using namespace ptr_lib; +using namespace func_lib; +#if HAVE_STD_FUNCTION +// In the std library, the placeholders are in a different namespace than boost. +using namespace func_lib::placeholders; +#endif class Counter {