Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
clang: remove .template outside of template
Browse files Browse the repository at this point in the history
should fix #581 Build Fails on OS X
  • Loading branch information
Markus Raab committed Apr 9, 2016
1 parent d90dedc commit 1140fd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bindings/cpp/tests/testcpp_contextual_update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TEST_F (test_contextual_update, activate)
{
ASSERT_EQ (x.getName (), "/%/key");
ASSERT_TRUE (ks.lookup ("/%/key"));
c.template activate (i);
c.activate (i);
ASSERT_EQ (x.getName (), "/my/key");
ASSERT_TRUE (ks.lookup ("/my/key"));
}
Expand All @@ -40,7 +40,7 @@ TEST_F (test_contextual_update, changeKey)
{
ks.append (Key ("/other/key", KEY_VALUE, "88", KEY_END));
i = "other";
c.template activate (i);
c.activate (i);
ASSERT_EQ (x.getName (), "/other/key");
ASSERT_TRUE (ks.lookup ("/other/key"));
ASSERT_EQ (x, 88);
Expand Down Expand Up @@ -88,7 +88,7 @@ TEST_F (test_contextual_update, notifyAllEventsChange)
EXPECT_EQ (ks.at (1).getName (), "/ignore/id") << "nothing done, so its not changed";

i = "other";
c.template activate (i);
c.activate (i);
ASSERT_EQ (x.getName (), "/other/key");
ASSERT_EQ (x, 133);
ASSERT_EQ (ks.lookup ("/other/key").getString (), "133") << "nothing done, so its not changed";
Expand Down

0 comments on commit 1140fd6

Please sign in to comment.