aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/connection_basic.cpp
diff options
context:
space:
mode:
authormoneroexample <moneroexample@tuta.io>2016-05-18 12:51:28 +0800
committerredfish <redfish@galactica.pw>2016-05-18 10:54:41 -0400
commitde030d99a504838c87f84fabe15f173477d3b17d (patch)
treea0de44e8e47b101c6355f6ee4bbb69ae74b02049 /src/p2p/connection_basic.cpp
parentcontrib: epee: add exception spec to throwing destructors (diff)
downloadmonero-de030d99a504838c87f84fabe15f173477d3b17d.tar.xz
fix: error: -Werror=misleading-indentation
Compilation of bitmonero on Arch with gcc 6.1 results in the following error: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp: In member function ‘virtual void TestDB::set_hard_fork_version(uint64_t, uint8_t)’: /home/mwo/bitmonero/tests/unit_tests/hardfork.cpp:132:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] if (versions.size() <= height) versions.resize(height+1); versions[height] = version; This can be fixed by simply unfolding this line into three lines.
Diffstat (limited to 'src/p2p/connection_basic.cpp')
0 files changed, 0 insertions, 0 deletions