This is the line where the error occurs:
this->_tbfCmdHandler.reset(new Bar());
facade_impl.cpp(202): error C2259: 'FOO::Bar' : cannot instantiate abstract class
due to following members:
'void Subscriber::update(T)' : is abstract with
T=char &observer.h(66) : see declaration of 'Subscriber::update'
with
T=char & 'void Subscriber::update(T)' : is abstract with
T=const char &observer.h(66) : see declaration of 'Subscriber::update'
with
T=const char & ]
This is the declaration for Facade::Implementation
namespace FOO
{
class Facade::Implementation
:public Subscriber<const char& >
{
facade.cpp
FOO::Facade::Facade () : impl (new Implementation)
{
Singleton<SPM::Facade>::instance ();
}
The update functions:
void update( const char *aMsg)
{
printf("foo");
};
I hope this helps to figure out where I can find the error.