diff options
Diffstat (limited to 'src/vpp-api/vom/bridge_domain.cpp')
-rw-r--r-- | src/vpp-api/vom/bridge_domain.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpp-api/vom/bridge_domain.cpp b/src/vpp-api/vom/bridge_domain.cpp index 682681988f9..583e35d3dad 100644 --- a/src/vpp-api/vom/bridge_domain.cpp +++ b/src/vpp-api/vom/bridge_domain.cpp @@ -143,10 +143,10 @@ void bridge_domain::event_handler::handle_populate(const client_db::key_t& key) { /* - * dump VPP Bridge domains - */ - std::shared_ptr<bridge_domain_cmds::dump_cmd> cmd( - new bridge_domain_cmds::dump_cmd()); + * dump VPP Bridge domains + */ + std::shared_ptr<bridge_domain_cmds::dump_cmd> cmd = + std::make_shared<bridge_domain_cmds::dump_cmd>(); HW::enqueue(cmd); HW::write(); |