From 8f5677089f439b3ae97c430eb61040287459f63d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 2 Jul 2016 17:27:40 +0300 Subject: Fix operator|(permissions, permissions) --- butl/filesystem.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl') 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 ( -- cgit v1.1