aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/result.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/result.h')
-rw-r--r--lang/cpp/src/result.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/cpp/src/result.h b/lang/cpp/src/result.h
index 1eae5b1d..a86d81f0 100644
--- a/lang/cpp/src/result.h
+++ b/lang/cpp/src/result.h
@@ -35,8 +35,8 @@ class GPGMEPP_EXPORT Result
{
protected:
explicit Result() : mError() {}
- explicit Result(int error) : mError(error) {}
- explicit Result(const Error &error) : mError(error) {}
+ explicit Result(int err) : mError(err) {}
+ explicit Result(const Error &err) : mError(err) {}
void swap(Result &other)
{