Commit b6056bf1 authored by Dominik Charousset's avatar Dominik Charousset

fixed warnings ins test_tuple

parent 2f5e4eae
......@@ -79,13 +79,13 @@ optional<int> str2int(const std::string& str) {
invoked.clear(); \
if ( !( FunName Args ) || invoked != #FunName ) { \
CPPA_FAILURE("invocation of " #FunName " failed"); \
} else CPPA_CHECKPOINT()
} else { CPPA_CHECKPOINT(); } static_cast<void>(42)
#define CPPA_CHECK_NOT_INVOKED(FunName, Args) \
invoked.clear(); \
if ( FunName Args || invoked == #FunName ) { \
CPPA_FAILURE(#FunName " erroneously invoked"); \
} else CPPA_CHECKPOINT()
} else { CPPA_CHECKPOINT(); } static_cast<void>(42)
struct dummy_receiver : event_based_actor {
void init() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment