Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions include/boost/http_proto/server/route_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ post(F&& f) -> route_result
if(task_)
detail::throw_invalid_argument();

struct BOOST_HTTP_PROTO_SYMBOL_VISIBLE
immediate : suspender::owner
struct immediate : suspender::owner
{
route_result rv;
bool set = false;
Expand All @@ -227,9 +226,7 @@ post(F&& f) -> route_result
}
};

class BOOST_HTTP_PROTO_SYMBOL_VISIBLE model
: public task
, public suspender::owner
class model: public task, suspender::owner
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vinniefalco, immediate and model are nested types inside a templated function. We shouldn't export their vtables, because there's no way they can be exported from the compiled shared library.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to edit...

{
public:
model(route_params& p,
Expand Down
Loading