Skip to content

Commit

Permalink
make copy constructor more normal
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jul 27, 2024
1 parent 7f3dc64 commit 19002ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libgetargv++.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ namespace Getargv {
* from C or C++ could change the layout of the struct, making the C function
* that frees the buffer not work.
*/
Argv(Argv& other) = delete;
Argv(const Argv& other) = delete;

/** \brief This is a constructor for the Argv struct representing the args of
* pid, formatted as specified.
Expand Down Expand Up @@ -335,7 +335,7 @@ namespace Getargv {
* allocated from C or C++ could change the layout of the struct, making the C
* function that frees the buffers not work.
*/
ArgvArgc(ArgvArgc& other) = delete;
ArgvArgc(const ArgvArgc& other) = delete;

/** \brief This is a constructor for the ArgvArgc struct representing the args
* of pid.
Expand Down

0 comments on commit 19002ed

Please sign in to comment.