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
682
682
explicit Buffer (size_t cap) { buf.resize (cap); }
683
683
void add_cap (size_t cap) { buf.resize (cap); }
684
684
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
-
701
685
public:
702
686
std::vector<char > buf;
703
687
size_t length = 0 ;
@@ -974,15 +958,6 @@ class Popen
974
958
execute_process ();
975
959
}
976
960
977
- /*
978
- ~Popen()
979
- {
980
- #ifdef __USING_WINDOWS__
981
- CloseHandle(this->process_handle_);
982
- #endif
983
- }
984
- */
985
-
986
961
int pid () const noexcept { return child_pid_; }
987
962
988
963
int retcode () const noexcept { return retcode_; }
You can’t perform that action at this time.
0 commit comments