Fix a shitloads of warnings on VS
Former-commit-id: fca61118f4e0530ed2eaaf9ff96de29806aa5aa8
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Nz
|
||||
{
|
||||
}
|
||||
|
||||
inline String::SharedString::SharedString(unsigned int strSize) :
|
||||
inline String::SharedString::SharedString(std::size_t strSize) :
|
||||
capacity(strSize),
|
||||
size(strSize),
|
||||
string(new char[strSize + 1])
|
||||
@@ -31,7 +31,7 @@ namespace Nz
|
||||
string[strSize] = '\0';
|
||||
}
|
||||
|
||||
inline String::SharedString::SharedString(unsigned int strSize, unsigned int strCapacity) :
|
||||
inline String::SharedString::SharedString(std::size_t strSize, std::size_t strCapacity) :
|
||||
capacity(strCapacity),
|
||||
size(strSize),
|
||||
string(new char[strCapacity + 1])
|
||||
|
||||
Reference in New Issue
Block a user