diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-04-12 12:16:29 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-04-12 12:16:29 -0700 |
| commit | 51fecc0be933c3d6e82044c4e2c28aa841733995 (patch) | |
| tree | ed916b858cf5a9f79307a7473517888964836112 /node/Network.hpp | |
| parent | 6f854c8391d94857b00f76ffaf127d087ccf130f (diff) | |
| download | infinitytier-51fecc0be933c3d6e82044c4e2c28aa841733995.tar.gz infinitytier-51fecc0be933c3d6e82044c4e2c28aa841733995.zip | |
Refactor Network for new NetworkConfig.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } /** |
