A
arjor
hey guys
When i try to make the following mutating method inline i get the
following error:
//method
inline void vertex::setValue(int new_value) throw() { value_ =
new_value; }
error LNK2019: unresolved external symbol "public: void __thiscall
vertex::setValue(int)" (?setValue@vertex@@QAEXH@Z) referenced in
function _main
removing the inline keyword fixes the problem
any advice would be much appreciated
When i try to make the following mutating method inline i get the
following error:
//method
inline void vertex::setValue(int new_value) throw() { value_ =
new_value; }
error LNK2019: unresolved external symbol "public: void __thiscall
vertex::setValue(int)" (?setValue@vertex@@QAEXH@Z) referenced in
function _main
removing the inline keyword fixes the problem
any advice would be much appreciated