network_manager: Inline trivial functions
Change-Id: Id8af08a2d0f64a40899250b33cb5b415c49afaee
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/network_manager.hpp b/src/network_manager.hpp
index 3002a20..89d909a 100644
--- a/src/network_manager.hpp
+++ b/src/network_manager.hpp
@@ -80,7 +80,7 @@
/** @brief gets the network conf directory.
*/
- const fs::path& getConfDir() const
+ inline const fs::path& getConfDir() const
{
return confDir;
}
@@ -88,7 +88,7 @@
/** @brief gets the system conf object.
*
*/
- const SystemConfPtr& getSystemConf()
+ inline const SystemConfPtr& getSystemConf()
{
return systemConf;
}
@@ -96,7 +96,7 @@
/** @brief gets the dhcp conf object.
*
*/
- const DHCPConfPtr& getDHCPConf()
+ inline const DHCPConfPtr& getDHCPConf()
{
return dhcpConf;
}
@@ -133,7 +133,7 @@
*
* @return the number of interfaces managed by this manager.
*/
- int getInterfaceCount()
+ inline size_t getInterfaceCount()
{
return interfaces.size();
}