summaryrefslogtreecommitdiff
path: root/zen/optional.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
commit669df123648aaa6aeccc70206b5417bc48b4e9ae (patch)
tree463c107a8d6405020bb304f7a7253e6b64afeee0 /zen/optional.h
parent5.18 (diff)
downloadFreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip
5.19
Diffstat (limited to 'zen/optional.h')
-rw-r--r--zen/optional.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zen/optional.h b/zen/optional.h
index a6a53103..6e54408a 100644
--- a/zen/optional.h
+++ b/zen/optional.h
@@ -45,6 +45,7 @@ public:
if (tmp.valid)
value = tmp.value;
valid = tmp.valid;
+ return *this;
}
////rvalue optimization: only basic exception safety:
bgstack15