Skip to content

Commit ec23db3

Browse files
committed
iox-#27 Use type alias instead of new classes
1 parent f72954f commit ec23db3

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

iceoryx_posh/include/iceoryx_posh/popo/client.hpp

+2-9
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,15 @@
1717
#ifndef IOX_POSH_POPO_CLIENT_HPP
1818
#define IOX_POSH_POPO_CLIENT_HPP
1919

20-
#include "iceoryx_posh/capro/service_description.hpp"
2120
#include "iceoryx_posh/internal/popo/client_impl.hpp"
22-
#include "iceoryx_posh/popo/client_options.hpp"
23-
#include "iceoryx_posh/popo/trigger_handle.hpp"
24-
#include "iceoryx_posh/runtime/posh_runtime.hpp"
2521

2622
namespace iox
2723
{
2824
namespace popo
2925
{
3026
template <typename Req, typename Res>
31-
class Client : public ClientImpl<Req, Res>
32-
{
33-
public:
34-
using ClientImpl<Req, Res>::ClientImpl;
35-
};
27+
using Client = ClientImpl<Req, Res>;
28+
3629
} // namespace popo
3730
} // namespace iox
3831

iceoryx_posh/include/iceoryx_posh/popo/server.hpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ namespace iox
2424
namespace popo
2525
{
2626
template <typename Req, typename Res>
27-
class Server : public ServerImpl<Req, Res>
28-
{
29-
public:
30-
using ServerImpl<Req, Res>::ServerImpl;
31-
};
27+
using Server = ServerImpl<Req, Res>;
28+
3229
} // namespace popo
3330
} // namespace iox
3431

0 commit comments

Comments
 (0)