From 3c9deefad357dfc7f74e2e8b3bb54e984301a265 Mon Sep 17 00:00:00 2001 From: Leonard Ossa Date: Mon, 28 Oct 2024 15:44:48 +0100 Subject: [PATCH] TunBuilderCapture refactor: replace typedef with using Cpp Core Guidelines T.43: Prefer using over typedef for defining aliases Signed-off-by: Leonard Ossa --- openvpn/tun/builder/capture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn/tun/builder/capture.hpp b/openvpn/tun/builder/capture.hpp index 3f1a4e277..a7fabfe6b 100644 --- a/openvpn/tun/builder/capture.hpp +++ b/openvpn/tun/builder/capture.hpp @@ -41,7 +41,7 @@ namespace openvpn { class TunBuilderCapture : public TunBuilderBase, public RC { public: - typedef RCPtr Ptr; + using Ptr = RCPtr; // builder data classes