From 76a9380c891a224b77a48d3f74248033f2982e79 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 16 Sep 2016 17:53:36 +0000 Subject: Avoid slicing --- filedistribution/src/vespa/filedistribution/model/zkfacade.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'filedistribution') 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; } } -- cgit v1.2.3