vmime icon indicating copy to clipboard operation
vmime copied to clipboard

Session() is private

Open mquinteiro opened this issue 7 years ago • 1 comments

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?

mquinteiro avatar Feb 01 '18 18:02 mquinteiro

I have the same problem.

thomase1993 avatar Mar 01 '18 10:03 thomase1993