zk::client::client default constructor was declared, but never defined. This might cause a bit confusing "undefined reference" errors during linking.
I was also thinking about defaulting this constructor (= default), but then any called method will try to dereference empty shared_ptr (_conn), so in my opinion, it is better just to delete the declaration.
Hey,
zk::client::client default constructor was declared, but never defined. This might cause a bit confusing "undefined reference" errors during linking.
I was also thinking about defaulting this constructor (
= default
), but then any called method will try to dereference empty shared_ptr (_conn
), so in my opinion, it is better just to delete the declaration.