CommandCost: Change AllocSummaryMessage to std::string SummaryMessage

This commit is contained in:
Jonathan G Rennison
2023-08-20 21:15:14 +01:00
parent b0538a00e0
commit 2b44d3302e
2 changed files with 5 additions and 5 deletions

View File

@@ -218,9 +218,9 @@ public:
/**
* @param cmd_msg optional failure string as passed to DoCommand
* @return an allocated string summarising the command result
* @return a string summarising the command result
*/
char *AllocSummaryMessage(StringID cmd_msg = 0) const;
std::string SummaryMessage(StringID cmd_msg = 0) const;
/**
* Write a string summarising the command result