Compilation fix 3

This commit is contained in:
Nekotekina 2015-01-12 23:37:29 +03:00
parent e40347dd53
commit 7372583cab
3 changed files with 12 additions and 13 deletions

View file

@ -1,7 +1,16 @@
#include "stdafx.h"
#include "StrFmt.h"
#include <wx/string.h>
std::string u128::to_hex() const
{
return fmt::Format("%016llx%016llx", _u64[1], _u64[0]);
}
std::string u128::to_xyzw() const
{
return fmt::Format("x: %g y: %g z: %g w: %g", _f[3], _f[2], _f[1], _f[0]);
}
extern const std::string fmt::placeholder = "???";
std::string replace_first(const std::string& src, const std::string& from, const std::string& to)