mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
add TODO for compiler warning
This commit is contained in:
@@ -1732,6 +1732,7 @@ namespace VERMInterpreter
|
|||||||
}
|
}
|
||||||
VermTreeIterator & VermTreeIterator::operator=( const VOptionList & opt )
|
VermTreeIterator & VermTreeIterator::operator=( const VOptionList & opt )
|
||||||
{
|
{
|
||||||
|
// TODO: warning: all paths through this function will call itself [-Winfinite-recursion]
|
||||||
return *this = opt;
|
return *this = opt;
|
||||||
}
|
}
|
||||||
VOption & VermTreeIterator::getAsItem()
|
VOption & VermTreeIterator::getAsItem()
|
||||||
|
|||||||
Reference in New Issue
Block a user