File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -682,22 +682,6 @@ class Buffer
682682 explicit Buffer (size_t cap) { buf.resize (cap); }
683683 void add_cap (size_t cap) { buf.resize (cap); }
684684
685- #if 0
686- Buffer(const Buffer& other):
687- buf(other.buf),
688- length(other.length)
689- {
690- std::cout << "COPY" << std::endl;
691- }
692-
693- Buffer(Buffer&& other):
694- buf(std::move(other.buf)),
695- length(other.length)
696- {
697- std::cout << "MOVE" << std::endl;
698- }
699- #endif
700-
701685public:
702686 std::vector<char > buf;
703687 size_t length = 0 ;
@@ -974,15 +958,6 @@ class Popen
974958 execute_process ();
975959 }
976960
977- /*
978- ~Popen()
979- {
980- #ifdef __USING_WINDOWS__
981- CloseHandle(this->process_handle_);
982- #endif
983- }
984- */
985-
986961 int pid () const noexcept { return child_pid_; }
987962
988963 int retcode () const noexcept { return retcode_; }
You can’t perform that action at this time.
0 commit comments