diff options
author | moneroexample <moneroexample@tuta.io> | 2016-05-18 12:51:28 +0800 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2016-05-18 10:54:41 -0400 |
commit | de030d99a504838c87f84fabe15f173477d3b17d (patch) | |
tree | a0de44e8e47b101c6355f6ee4bbb69ae74b02049 /src/serialization | |
parent | contrib: epee: add exception spec to throwing destructors (diff) | |
download | monero-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/serialization')
0 files changed, 0 insertions, 0 deletions