From fd920609819a5b10d3d7c8d34fe4fa4214c7da22 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 23 Nov 2017 12:15:00 -0800 Subject: VOM: Additions to allow uses to UT applications that use VOM - find object by key - compare objects Change-Id: I36ec8612be9482bcef7ceced2a59f7403f77b3e8 Signed-off-by: Neale Ranns --- src/vpp-api/vom/interface_span.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/vpp-api/vom/interface_span.hpp') diff --git a/src/vpp-api/vom/interface_span.hpp b/src/vpp-api/vom/interface_span.hpp index 8d3d7cb2532..baa2054a530 100644 --- a/src/vpp-api/vom/interface_span.hpp +++ b/src/vpp-api/vom/interface_span.hpp @@ -103,7 +103,7 @@ public: /** * The key type for interface_spans */ - typedef std::pair key_type_t; + typedef std::pair key_t; /** * Find a singular instance in the DB for the interface passed @@ -165,7 +165,7 @@ private: /** e* It's the singular_db class that calls replay() */ - friend class singular_db; + friend class singular_db; /** * Sweep/reap the object if still stale @@ -202,14 +202,13 @@ private: * A map of all interface span keyed against the interface to be * mirrored. */ - static singular_db m_db; + static singular_db m_db; }; /** * Ostream output for the key */ -std::ostream& operator<<(std::ostream& os, - const interface_span::key_type_t& key); +std::ostream& operator<<(std::ostream& os, const interface_span::key_t& key); }; /* -- cgit 1.2.3-korg