fix compilation error in stream.hpp on vs2017 (#134)

This commit is contained in:
Jasper Wan 2018-10-10 03:39:52 +08:00 committed by Michele Caini
parent 8d8338a135
commit 629edd3a61

View File

@ -159,8 +159,8 @@ class StreamHandle: public Handle<T, U> {
public:
#ifdef _MSC_VER
StreamHandle(ConstructorAccess ca, std::shared_ptr<Loop> ref)
: Handle{ca, std::move(ref)}
StreamHandle(typename Handle<T, U>::ConstructorAccess ca, std::shared_ptr<Loop> ref)
: Handle<T, U>{ca, std::move(ref)}
{}
#else
using Handle<T, U>::Handle;