mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-04-01 17:35:13 +08:00
Fix travis via a user-declared ctor
This commit is contained in:
parent
22d05dc18b
commit
e3dcb01e67
2
src/io.h
2
src/io.h
@ -273,6 +273,8 @@ class io_buffer_t : public io_pipe_t {
|
||||
class io_chain_t : public std::vector<shared_ptr<io_data_t>> {
|
||||
public:
|
||||
using std::vector<shared_ptr<io_data_t>>::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<const io_data_t> &element);
|
||||
void push_back(shared_ptr<io_data_t> element);
|
||||
|
Loading…
x
Reference in New Issue
Block a user