Skip to content

Commit 9b1c3d6

Browse files
committed
Fixed CS:GO compiler error
1 parent 9f86207 commit 9b1c3d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/modules/keyvalues/keyvalues_wrap_python.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(load_from_file_overload, LoadFromFile, 2,
6767
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(save_to_file_overload, SaveToFile, 2, 3);
6868
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(find_key_overload, FindKey, 1, 2);
6969
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(get_int_overload, GetInt, 0, 2);
70-
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(get_uint64_overload, GetInt, 0, 2);
70+
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(get_uint64_overload, GetUint64, 0, 2);
7171
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(get_float_overload, GetFloat, 0, 2);
7272
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(get_string_overload, GetString, 0, 2);
7373
BOOST_PYTHON_FUNCTION_OVERLOADS(get_bool_overload, KeyValuesExt::GetBool, 2, 3);
@@ -87,6 +87,7 @@ void export_keyvalues()
8787
.def(init<const char *, const char *, const char *, const char *, const char *>())
8888
.def(init<const char *, const char *, int, const char *, int>())
8989
*/
90+
9091
.def("delete",
9192
&KeyValues::deleteThis,
9293
"Ensures that KeyValues object is deleted from correct heap"
@@ -211,7 +212,7 @@ void export_keyvalues()
211212
)
212213

213214
.def("get_uint64",
214-
&KeyValues::GetUint64,
215+
GET_METHOD(uint64, KeyValues, GetUint64, const char *, uint64),
215216
get_uint64_overload(
216217
"Gets the 64-bit integer value for the given key name.",
217218
args("key_name", "default_value")

0 commit comments

Comments
 (0)