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:
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 {