From 0be329dbdccc742fbd40317c4cf20c612faa37c6 Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Mon, 18 Mar 2024 10:33:40 +0000 Subject: [PATCH] C++: Delete duplicated code. --- cpp/ql/test/library-tests/ir/ir/ir.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cpp/ql/test/library-tests/ir/ir/ir.cpp b/cpp/ql/test/library-tests/ir/ir/ir.cpp index eb31d8cc0704..492f8c71c119 100644 --- a/cpp/ql/test/library-tests/ir/ir/ir.cpp +++ b/cpp/ql/test/library-tests/ir/ir/ir.cpp @@ -2378,18 +2378,4 @@ namespace return_routine_type { } - -using size_t = decltype(sizeof(0)); - -template -struct remove_const { typedef T type; }; - -template -struct remove_const { typedef T type; }; - -// `remove_const_t` removes any `const` specifier from `T` -template -using remove_const_t = typename remove_const::type; - - // semmle-extractor-options: -std=c++20 --clang