| commit | 7f6922115085156db507f971714b36e180713ba1 | [log] [tgz] |
|---|---|---|
| author | Jonas Vautherin <[email protected]> | Tue Jan 18 01:36:26 2022 +0100 |
| committer | Jonas Vautherin <[email protected]> | Tue Jan 18 02:27:57 2022 +0100 |
| tree | f8a7ab264f52086480ec5c3c8de2f979971f655d | |
| parent | 0c80c300f07d88bc31e9fc7b7e888ed20c33babf [diff] |
Fix: C++14 requires out-of-line definition of member variable
diff --git a/c++/src/kj/async-io-unix.c++ b/c++/src/kj/async-io-unix.c++ index 706614e..aa845bc 100644 --- a/c++/src/kj/async-io-unix.c++ +++ b/c++/src/kj/async-io-unix.c++
@@ -804,6 +804,10 @@ } }; +#if __linux__ +constexpr size_t AsyncStreamFd::MAX_SPLICE_LEN; +#endif // __linux__ + // ======================================================================================= class SocketAddress {