util/FormatString: add "noexcept"
This commit is contained in:
@@ -32,7 +32,7 @@ template<typename T> class AllocatedString;
|
||||
*/
|
||||
gcc_nonnull_all
|
||||
AllocatedString<char>
|
||||
FormatStringV(const char *fmt, va_list args);
|
||||
FormatStringV(const char *fmt, va_list args) noexcept;
|
||||
|
||||
/**
|
||||
* Format into a newly allocated string. The caller frees the return
|
||||
@@ -40,6 +40,6 @@ FormatStringV(const char *fmt, va_list args);
|
||||
*/
|
||||
gcc_nonnull(1) gcc_printf(1,2)
|
||||
AllocatedString<char>
|
||||
FormatString(const char *fmt, ...);
|
||||
FormatString(const char *fmt, ...) noexcept;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user