We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f3dc64 commit 19002edCopy full SHA for 19002ed
include/libgetargv++.hpp
@@ -134,7 +134,7 @@ namespace Getargv {
134
* from C or C++ could change the layout of the struct, making the C function
135
* that frees the buffer not work.
136
*/
137
- Argv(Argv& other) = delete;
+ Argv(const Argv& other) = delete;
138
139
/** \brief This is a constructor for the Argv struct representing the args of
140
* pid, formatted as specified.
@@ -335,7 +335,7 @@ namespace Getargv {
335
* allocated from C or C++ could change the layout of the struct, making the C
336
* function that frees the buffers not work.
337
338
- ArgvArgc(ArgvArgc& other) = delete;
+ ArgvArgc(const ArgvArgc& other) = delete;
339
340
/** \brief This is a constructor for the ArgvArgc struct representing the args
341
* of pid.
0 commit comments