mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Code style: use parentheses for creating heap-based objects (#344)
This commit is contained in:
@ -715,7 +715,7 @@ CAdvMapInt::~CAdvMapInt()
|
||||
|
||||
void CAdvMapInt::fshowOverview()
|
||||
{
|
||||
GH.pushInt(new CKingdomInterface);
|
||||
GH.pushInt(new CKingdomInterface());
|
||||
}
|
||||
|
||||
void CAdvMapInt::fworldViewBack()
|
||||
@ -808,7 +808,7 @@ void CAdvMapInt::fshowSpellbok()
|
||||
|
||||
void CAdvMapInt::fadventureOPtions()
|
||||
{
|
||||
GH.pushInt(new CAdventureOptions);
|
||||
GH.pushInt(new CAdventureOptions());
|
||||
}
|
||||
|
||||
void CAdvMapInt::fsystemOptions()
|
||||
|
Reference in New Issue
Block a user