Skip to content

Commit b57e8ad

Browse files
committed
Fixed CS:GO compiler error
1 parent 4c32b52 commit b57e8ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/modules/cvar/cvar_wrap_python.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,11 @@ class ConVarExt
229229
void export_convar()
230230
{
231231
// TODO: Rename it?
232-
class_<ConVar, bases<ConCommandBase, IConVar> >("CConVar", init<const char *, const char *, optional< int > >())
232+
class_<ConVar, bases<ConCommandBase, IConVar>, boost::noncopyable >("CConVar", init<const char *, const char *, optional< int > >())
233233
.def(init<const char *, const char *, int, const char *>())
234234
.def(init<const char *, const char *, int, const char *, bool, float, bool , float>())
235235
.def("__init__", make_constructor(&ConVarExt::CreateConVar))
236-
236+
237237
.def("get_float",
238238
&ConVar::GetFloat,
239239
"Returns the value as a float."

0 commit comments

Comments
 (0)