aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
Diffstat (limited to 'butl')
-rw-r--r--butl/filesystem.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/filesystem.ixx b/butl/filesystem.ixx
index c2bfa49..037ab8b 100644
--- a/butl/filesystem.ixx
+++ b/butl/filesystem.ixx
@@ -49,7 +49,7 @@ namespace butl
// permissions
//
inline permissions operator& (permissions x, permissions y) {return x &= y;}
- inline permissions operator| (permissions x, permissions y) {return x &= y;}
+ inline permissions operator| (permissions x, permissions y) {return x |= y;}
inline permissions operator&= (permissions& x, permissions y)
{
return x = static_cast<permissions> (