Procházet zdrojové kódy

core: fix PS3 compilation.

legacy
Sam Hocevar sam před 13 roky
rodič
revize
a2b1a60689
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/lol/base/string.h

+ 2
- 2
src/lol/base/string.h Zobrazit soubor

@@ -39,7 +39,7 @@ public:
inline String(char const *str)
: Super()
{
using std::memcpy;
using namespace std;
Resize((int)strlen(str));
memcpy(&(*this)[0], str, Count() + 1);
}
@@ -47,7 +47,7 @@ public:
inline String(char const *str, int count)
: Super()
{
using std::memcpy;
using namespace std;
Resize(count + 1);
memcpy(&(*this)[0], str, Count());
((Super &)*this).Last() = '\0';


Načítá se…
Zrušit
Uložit