Skip to content

Commit

Permalink
make deleted functions public
Browse files Browse the repository at this point in the history
Make deleted functions (copy constructor and assignment operator)
public, because preserving them private hides the original intention.

Issue: saebyn#27
Signed-off-by: Gluttton <[email protected]>
  • Loading branch information
Gluttton committed Feb 5, 2022
1 parent d549d23 commit a9d5cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/munkres-cpp/munkres.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ class Munkres
{
public:
Munkres (M<T> &);

private:
Munkres (const Munkres &) = delete;
Munkres & operator = (const Munkres &) = delete;

private:
bool find_uncovered_in_matrix (size_t &, size_t &) const;
int step1 ();
int step2 ();
Expand Down

0 comments on commit a9d5cbc

Please sign in to comment.