Skip to content

Commit 8c57ac1

Browse files
authored
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
1 parent f1e6cb8 commit 8c57ac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/message.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ struct basic_message {
3737

3838
basic_message() = default;
3939
basic_message(const basic_message&) = default;
40-
basic_message(basic_message&&) = default;
40+
//basic_message(basic_message&&) = default;
4141
basic_message& operator=(basic_message const&) = default;
42-
basic_message& operator=(basic_message&&) = default;
42+
//basic_message& operator=(basic_message&&) = default;
4343
~basic_message() = default;
4444

4545
void swap(basic_message<Tag>& other) {

0 commit comments

Comments
 (0)