clang-cl build fix
This commit is contained in:
parent
7911782a3b
commit
0c24e7bbd0
|
|
@ -47,7 +47,7 @@ std::string entdict_t::get(const std::string_view &key) const
|
||||||
|
|
||||||
vec_t entdict_t::get_float(const std::string_view &key) const
|
vec_t entdict_t::get_float(const std::string_view &key) const
|
||||||
{
|
{
|
||||||
auto &s = get(key);
|
auto s = get(key);
|
||||||
|
|
||||||
if (s.empty()) {
|
if (s.empty()) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
@ -63,7 +63,7 @@ vec_t entdict_t::get_float(const std::string_view &key) const
|
||||||
|
|
||||||
int32_t entdict_t::get_int(const std::string_view &key) const
|
int32_t entdict_t::get_int(const std::string_view &key) const
|
||||||
{
|
{
|
||||||
auto &s = get(key);
|
auto s = get(key);
|
||||||
|
|
||||||
if (s.empty()) {
|
if (s.empty()) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -55,11 +55,11 @@ public:
|
||||||
|
|
||||||
bool has(const std::string_view &key) const;
|
bool has(const std::string_view &key) const;
|
||||||
|
|
||||||
inline keyvalues_t::const_iterator entdict_t::begin() const { return keyvalues.begin(); }
|
inline keyvalues_t::const_iterator begin() const { return keyvalues.begin(); }
|
||||||
inline keyvalues_t::const_iterator entdict_t::end() const { return keyvalues.end(); }
|
inline keyvalues_t::const_iterator end() const { return keyvalues.end(); }
|
||||||
|
|
||||||
inline keyvalues_t::iterator entdict_t::begin() { return keyvalues.begin(); }
|
inline keyvalues_t::iterator begin() { return keyvalues.begin(); }
|
||||||
inline keyvalues_t::iterator entdict_t::end() { return keyvalues.end(); }
|
inline keyvalues_t::iterator end() { return keyvalues.end(); }
|
||||||
|
|
||||||
inline size_t size() { return keyvalues.size(); }
|
inline size_t size() { return keyvalues.size(); }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue