Skip to content

fix VS2013 compile issues #711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
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
Next Next commit
fix VS2013 compile errors
VS2013 compile errors:

1>c:\work\workspaces\libs\cpp-netlib\include\boost\network\message.hpp(40): error C2610: 'boost::network::basic_message<Tag>::basic_message(boost::network::basic_message<Tag> &&)' : is not a special member function which can be defaulted
1>          c:\work\workspaces\libs\cpp-netlib\include\boost\network\message.hpp(111) : see reference to class template instantiation 'boost::network::basic_message<Tag>' being compiled
1>c:\work\workspaces\libs\cpp-netlib\include\boost\network\message.hpp(42): error C2610: 'boost::network::basic_message<Tag> &boost::network::basic_message<Tag>::operator =(boost::network::basic_message<Tag> &&)' : is not a special member function which can be defaulted
  • Loading branch information
randydu authored Nov 24, 2016
commit 8c57ac1e3b1ae52e331b0e662591c8285c76528a
4 changes: 2 additions & 2 deletions boost/network/message.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ struct basic_message {

basic_message() = default;
basic_message(const basic_message&) = default;
basic_message(basic_message&&) = default;
//basic_message(basic_message&&) = default;
basic_message& operator=(basic_message const&) = default;
basic_message& operator=(basic_message&&) = default;
//basic_message& operator=(basic_message&&) = default;
~basic_message() = default;

void swap(basic_message<Tag>& other) {
Expand Down