mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 06:24:01 +00:00
Fix travis via a user-declared ctor
This commit is contained in:
parent
22d05dc18b
commit
e3dcb01e67
1 changed files with 2 additions and 0 deletions
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…
Reference in a new issue