summaryrefslogtreecommitdiff
path: root/tools/common/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/common/path.h')
-rw-r--r--tools/common/path.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/common/path.h b/tools/common/path.h
index eae4951f..1ad6f506 100644
--- a/tools/common/path.h
+++ b/tools/common/path.h
@@ -38,6 +38,13 @@ public:
return m_str != "";
}
+ bool operator==(const path& p) const {
+ return m_str == p.m_str;
+ }
+ bool operator!=(const path& p) const {
+ return m_str != p.m_str;
+ }
+
path& operator/=(const path& p)
{
if(!p.is_valid())