Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)

* Fix cmake not adding Werror on clang, and _lots_ of warnings

* WIP: Build fixes

* Cannot make intermediate blockhandler instance

* Tiger's changes

* Fix BitIndex check

* Handle invalid NextState values in cMultiVersionProtocol

Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
This commit is contained in:
peterbell10
2020-10-05 10:27:14 +00:00
committed by GitHub
co-authored by Tiger Wang
parent 23021dd828
commit a9031b6bae
144 changed files with 886 additions and 862 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
class cBlockIceHandler :
class cBlockIceHandler final :
public cBlockHandler
{
using Super = cBlockHandler;
@@ -54,7 +54,7 @@ private:
}
};
for (const auto Offset : Adjacents)
for (const auto & Offset : Adjacents)
{
auto Position = a_RelPos + Offset;
const auto Chunk = a_Chunk.GetRelNeighborChunkAdjustCoords(Position);