mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
clang-format tests
This commit is contained in:
committed by
Hielke Morsink
parent
4d38475f12
commit
42fa1b0f63
@@ -7,12 +7,13 @@
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#include "String.hpp"
|
||||
|
||||
namespace String {
|
||||
std::string Format(const char * format, ...)
|
||||
#include <cstdarg>
|
||||
|
||||
namespace String
|
||||
{
|
||||
std::string Format(const char* format, ...)
|
||||
{
|
||||
va_list args;
|
||||
char buffer[512];
|
||||
@@ -23,4 +24,4 @@ namespace String {
|
||||
|
||||
return std::string(buffer);
|
||||
}
|
||||
};
|
||||
}; // namespace String
|
||||
|
||||
Reference in New Issue
Block a user