diff --git a/scripting/erm/ERMInterpreter.cpp b/scripting/erm/ERMInterpreter.cpp index 0ee197bbc..25a2212f0 100644 --- a/scripting/erm/ERMInterpreter.cpp +++ b/scripting/erm/ERMInterpreter.cpp @@ -1732,6 +1732,7 @@ namespace VERMInterpreter } VermTreeIterator & VermTreeIterator::operator=( const VOptionList & opt ) { + // TODO: warning: all paths through this function will call itself [-Winfinite-recursion] return *this = opt; } VOption & VermTreeIterator::getAsItem()