From 51fecc0be933c3d6e82044c4e2c28aa841733995 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 12 Apr 2016 12:16:29 -0700 Subject: Refactor Network for new NetworkConfig. --- node/Network.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/Network.hpp') diff --git a/node/Network.hpp b/node/Network.hpp index 8b86c851..14f8f89a 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -230,7 +230,7 @@ public: * * @return Network configuration (may be a null config if we don't have one yet) */ - inline const NetworkConfig &config() const { return _config }; + inline const NetworkConfig &config() const { return _config; } /** * @return A thread-safe copy of our NetworkConfig instead of a const reference @@ -238,7 +238,7 @@ public: inline NetworkConfig configCopy() const { Mutex::Lock _l(_lock); - return config; + return _config; } /** -- cgit v1.2.3