Commit 9315bd3d authored by neverlord's avatar neverlord

fixed static announce

parent 6b1009c6
...@@ -49,18 +49,13 @@ inline bool operator!=(const foo& lhs, const foo& rhs) ...@@ -49,18 +49,13 @@ inline bool operator!=(const foo& lhs, const foo& rhs)
using namespace cppa; using namespace cppa;
namespace {
bool announce1 = announce<foo>(&foo::value);
bool announce2 = announce<foo>(&foo::value);
bool announce3 = announce<foo>(&foo::value);
bool announce4 = announce<foo>(&foo::value);
} // namespace <anonymous>
size_t test__uniform_type() size_t test__uniform_type()
{ {
CPPA_TEST(test__uniform_type); CPPA_TEST(test__uniform_type);
bool announce1 = announce<foo>(&foo::value);
bool announce2 = announce<foo>(&foo::value);
bool announce3 = announce<foo>(&foo::value);
bool announce4 = announce<foo>(&foo::value);
{ {
//bar.create_object(); //bar.create_object();
object obj1 = uniform_typeid<foo>()->create(); object obj1 = uniform_typeid<foo>()->create();
......
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