diff --git a/CHANGELOG.md b/CHANGELOG.md index 831ae945..7440742d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 246: + +* decorator ctor is explicit + +-------------------------------------------------------------------------------- + Version 245: * decorator constructor is constrained diff --git a/include/boost/beast/websocket/stream_base.hpp b/include/boost/beast/websocket/stream_base.hpp index 47d98d3d..a214553f 100644 --- a/include/boost/beast/websocket/stream_base.hpp +++ b/include/boost/beast/websocket/stream_base.hpp @@ -73,6 +73,7 @@ struct stream_base Decorator>::value>::type #endif > + explicit decorator(Decorator&& f) : d_(std::forward(f)) {