vmime
vmime copied to clipboard
Session() is private
I'm getting compilation error when compile a code that compiles is 0.9.0,
The error is in /usr/include/c++/7/ext/new_allocator.h:136: error: ‘vmime::net::session::session()’ is private within this context { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From this line of my code vmime::shared_ptr vmime::net::session sess=vmime::make_shared vmime::net::session();
Looks like en 0.9.2 net/session.hpp a private delaration of the constructor is done. Is there a bug? I miss something?
I have the same problem.