probluebox123
Member
|
Need help
hello I'm getting some errors in inesis online, this is a new project.
Code:
Door.cpp
c:\esenthonrl\esenthel\bin\esenthelengine\misc\reference.h(19): error C2662: 'const EE::UID &Obj::id(void)': cannot convert 'this' pointer from 'const Door' to 'Obj &' [C:\esenthonrl\Esenthel\Projects\_Build_\Ineisis Server\Project.vcxproj]
c:\esenthonrl\esenthel\bin\esenthelengine\misc\reference.h(19): note: Conversion loses qualifiers
c:\esenthonrl\esenthel\projects\_build_\ineisis server\source\shared\obj\door.cpp(46): note: see reference to function template instantiation 'Bool EE::Reference<Obj>::operator ==<Door>(const OBJECT &) const' being compiled
with
[
OBJECT=Door
]
c:\esenthonrl\esenthel\projects\_build_\ineisis server\source\shared\obj\door.cpp(46): note: see reference to function template instantiation 'Bool EE::Reference<Obj>::operator ==<Door>(const OBJECT &) const' being compiled
with
[
OBJECT=Door
]
(This post was last modified: 04-22-2018 01:31 AM by probluebox123.)
|
|
04-22-2018 01:30 AM |
|
Esenthel
Administrator
|
RE: Need help
Hi there,
Thanks for letting me know, I've updated Ineisis Online source package on the store.
The id() method needed to be converted into a const one: id()C
|
|
04-22-2018 07:04 AM |
|
probluebox123
Member
|
RE: Need help
ok cool thanks
|
|
04-22-2018 03:16 PM |
|