summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-16 17:53:36 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-16 17:53:36 +0000
commit76a9380c891a224b77a48d3f74248033f2982e79 (patch)
tree49c727c0e463971b69703709897697d23eb25d7d /filedistribution
parent004632761eb8c253bdea6f1751cba88ce2df638f (diff)
Avoid slicing
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/src/vespa/filedistribution/model/zkfacade.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
index 1d3f083bf02..4e93b0907ab 100644
--- a/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
+++ b/filedistribution/src/vespa/filedistribution/model/zkfacade.cpp
@@ -375,7 +375,7 @@ ZKFacade::getData(const Path& path, const NodeChangedWatcherSP& watcher) {
} catch (const ZKException & e) {
unregisterWatcher(watcherContext);
- throw e;
+ throw;
}
}
@@ -452,7 +452,7 @@ ZKFacade::hasNode(const Path& path, const NodeChangedWatcherSP& watcher) {
} catch (const ZKException &e) {
unregisterWatcher(watcherContext);
- throw e;
+ throw;
}
}
@@ -556,7 +556,7 @@ ZKFacade::getChildren(const Path& path, const NodeChangedWatcherSP& watcher) {
return result;
} catch (const ZKException & e) {
unregisterWatcher(watcherContext);
- throw e;
+ throw;
}
}