diff --git a/src/io.h b/src/io.h index 161ec5941..8dadf5001 100644 --- a/src/io.h +++ b/src/io.h @@ -273,6 +273,8 @@ class io_buffer_t : public io_pipe_t { class io_chain_t : public std::vector> { public: using std::vector>::vector; + // user-declared ctor to allow const init. Do not default this, it will break the build. + io_chain_t() {} void remove(const shared_ptr &element); void push_back(shared_ptr element);