feat: add whitebox module support for linux(#4654) (#5075)

* feat: fix whitebox module to work on linux(#4654)

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* update with AZStl

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* feat: update format

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* chore: minor changes

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* chore: update clang warnings

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* chore: fix clang errors

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* chore: remove unused refrence for g_indices and address range based for loop warnings

Signed-off-by: Michael Pollind <mpollind@gmail.com>

* chore: fix clang warnings for test cases

Signed-off-by: Michael Pollind <mpollind@gmail.com>
This commit is contained in:
Michael Pollind
2021-11-15 01:21:50 -08:00
committed by GitHub
parent 57adfd795e
commit 0ada8b335b
12 changed files with 78 additions and 88 deletions
@@ -155,7 +155,7 @@ namespace WhiteBox
// special handling for edges in the process of being restored - an edge may be clicked
// and remain 'orphaned' from a polygon until another connection (loop) can be made.
for (const Api::EdgeHandle edgeHandleRestore : m_edgeHandlesBeingRestored)
for (const Api::EdgeHandle& edgeHandleRestore : m_edgeHandlesBeingRestored)
{
if (AZStd::any_of(
interactiveEdgeHandles.begin(), interactiveEdgeHandles.end(),