Skip to content
Snippets Groups Projects
Commit 1fa7adcc authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/filesystem-path-comparison' into 'master'

Add missing const to path operator==

See merge request amdis/amdis!227
parents 66e333e5 45d5d1f6
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ namespace AMDiS
bool is_directory() const;
/// Lexicographically compares two paths
bool operator==(path const& p)
bool operator==(path const& p) const
{
return this->string() == p.string();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment