diff --git a/CMakeLists.txt b/CMakeLists.txt index e007a63e..f508e864 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ endif() # Project configuration # -project(uvw VERSION 1.14.1) +project(uvw VERSION 1.14.2) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Debug) diff --git a/src/uvw/stream.hpp b/src/uvw/stream.hpp index 46f583c5..3af4be3a 100644 --- a/src/uvw/stream.hpp +++ b/src/uvw/stream.hpp @@ -219,7 +219,7 @@ public: */ template void accept(S &ref) { - this->invoke(&uv_accept, this->template get(), ref.template get()); + this->invoke(&uv_accept, this->template get(), this->template get(ref)); } /**