About Store Forum Documentation Contact



Post Reply 
Need help
Author Message
probluebox123 Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
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
Find all posts by this user Quote this message in a reply
probluebox123 Offline
Member

Post: #3
RE: Need help
ok cool thanks smile
04-22-2018 03:16 PM
Find all posts by this user Quote this message in a reply
Post Reply