mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
Compilation fix
This commit is contained in:
parent
18fa6ca961
commit
74e13a4ef6
3 changed files with 10 additions and 10 deletions
|
@ -95,7 +95,7 @@ namespace fmt
|
|||
T by_value(T x) { return x; }
|
||||
|
||||
//wrapper to deal with advance sprintf formating options with automatic length finding
|
||||
template<typename... Args> std::string Format(const char* fmt, Args... parameters) printf_alike(1, 2)
|
||||
template<typename... Args> printf_alike(1, 2) std::string Format(const char* fmt, Args... parameters)
|
||||
{
|
||||
size_t length = 256;
|
||||
std::string str;
|
||||
|
@ -265,7 +265,7 @@ namespace fmt
|
|||
vm::psv::ref (fmt::unveil) (vm_ref.h)
|
||||
|
||||
*/
|
||||
template<typename... Args> force_inline safe_buffers std::string format(const char* fmt, Args... args) printf_alike(1, 2)
|
||||
template<typename... Args> force_inline safe_buffers printf_alike(1, 2) std::string format(const char* fmt, Args... args)
|
||||
{
|
||||
return Format(fmt, do_unveil(args)...);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue