Skip to content

Commit

Permalink
TunBuilderCapture refactor: replace typedef with using
Browse files Browse the repository at this point in the history
Cpp Core Guidelines T.43: Prefer using over typedef for defining aliases

Signed-off-by: Leonard Ossa <[email protected]>
  • Loading branch information
leoossa committed Nov 12, 2024
1 parent 397fb13 commit 3c9deef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn/tun/builder/capture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace openvpn {
class TunBuilderCapture : public TunBuilderBase, public RC<thread_unsafe_refcount>
{
public:
typedef RCPtr<TunBuilderCapture> Ptr;
using Ptr = RCPtr<TunBuilderCapture>;

// builder data classes

Expand Down

0 comments on commit 3c9deef

Please sign in to comment.