summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/interface_factory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/interface_factory.hpp')
-rw-r--r--src/vpp-api/vom/interface_factory.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vom/interface_factory.hpp b/src/vpp-api/vom/interface_factory.hpp
index 47faecc5934..e1cbb38fd83 100644
--- a/src/vpp-api/vom/interface_factory.hpp
+++ b/src/vpp-api/vom/interface_factory.hpp
@@ -30,7 +30,7 @@ public:
/**
* Factory method to construct a new interface from the VPP record
*/
- static std::unique_ptr<interface> new_interface(
+ static std::shared_ptr<interface> new_interface(
const vapi_payload_sw_interface_details& vd);
};
};