Fixed mismatch of decl/def return types on ReadString
This commit is contained in:
parent
58a17bc97e
commit
806f42dd84
|
@ -362,7 +362,7 @@ namespace base
|
|||
return val.GetUint64();
|
||||
}
|
||||
|
||||
std::uint32_t JsonReaderObject::ReadString(const char* name, char* dest, std::uint32_t maxLength)
|
||||
std::size_t JsonReaderObject::ReadString(const char* name, char* dest, std::uint32_t maxLength)
|
||||
{
|
||||
const auto& val = m_value[name];
|
||||
if (!val.IsString())
|
||||
|
|
|
@ -114,7 +114,7 @@ namespace base
|
|||
std::uint32_t ReadUInt32(const char* name);
|
||||
std::uint64_t ReadUint64(const char* name);
|
||||
std::size_t ReadString(const char* name, char* dest, std::size_t maxLength);
|
||||
std::string ReadString(const char* name, std::size_t maxLength);
|
||||
//std::string ReadString(const char* name, std::size_t maxLength);
|
||||
float ReadFloat(const char* name);
|
||||
|
||||
std::size_t ReadBits(const char* name, unsigned char* dest, std::size_t numBits);
|
||||
|
|
Loading…
Reference in New Issue
Block a user