Skip to content

Commit e46440f

Browse files
committed
remove copy constructor
1 parent 94ea469 commit e46440f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/libgetargv++.hpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ struct Argv : protected ffi::ArgvResult {
2121
bool nuls = false) noexcept(false);
2222
static std::string as_string(pid_t pid, unsigned int skip,
2323
bool nuls) noexcept(false);
24-
#if defined(__cplusplus) && (__cplusplus == 201703L)
24+
2525
Argv(Argv &r) = delete;
26-
#endif
2726
Argv(const ffi::ArgvResult &r);
2827
~Argv();
2928

@@ -41,9 +40,8 @@ struct ArgvArgc : protected ffi::ArgvArgcResult {
4140

4241
static ArgvArgc as_array(pid_t pid) noexcept(false);
4342
static std::vector<std::string> as_string_array(pid_t pid) noexcept(false);
44-
#if defined(__cplusplus) && (__cplusplus == 201703L)
43+
4544
ArgvArgc(ArgvArgc &r) = delete;
46-
#endif
4745
ArgvArgc(const ffi::ArgvArgcResult &r);
4846
~ArgvArgc();
4947

0 commit comments

Comments
 (0)