Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallexzander <blackslayer4@gmail.com>2021-06-18 15:18:12 +0300
committerallexzander <blackslayer4@gmail.com>2021-07-01 11:59:21 +0300
commit6ce5279b6c3bc78bb06b98bcb7a310660fbc89c3 (patch)
tree195097c44ed886409691d76e3ef464a4ebfca165 /src/common
parent22eba41cb85b9dcbee2d075b7bce5cf11411eda7 (diff)
Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/result.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/result.h b/src/common/result.h
index 579914f5c..25129e875 100644
--- a/src/common/result.h
+++ b/src/common/result.h
@@ -126,6 +126,8 @@ public:
ASSERT(_isError);
return std::move(_error);
}
+
+ bool isValid() const { return !_isError; }
};
namespace detail {