This commit is contained in:
subtly 2015-04-17 06:41:45 -04:00
parent 106a7d10cc
commit 6803c4f2db
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ namespace bi = ba::ip;
struct NetFixture
{
NetFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = true;; }
NetFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = true; }
~NetFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = false; }
};

View File

@ -30,7 +30,7 @@ using namespace dev::p2p;
struct P2PFixture
{
P2PFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = true;; }
P2PFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = true; }
~P2PFixture() { dev::p2p::NodeIPEndpoint::test_allowLocal = false; }
};