From cfa72f1a7042e7293610319c6b732c6111fe3b83 Mon Sep 17 00:00:00 2001 From: Chao Qu Date: Tue, 28 Mar 2023 02:47:04 +0000 Subject: [PATCH] [SymForce] Replace a couple of typedefs with using Topic: chaoqu_symforce_replace_typedef Relative: chaoqu_symforce_remove_static GitOrigin-RevId: d4c1e014a3dc08616f9364e8dcf8d367805bfe94 --- symforce/opt/templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/symforce/opt/templates.h b/symforce/opt/templates.h index 6386d8ec7..bb9cf4674 100644 --- a/symforce/opt/templates.h +++ b/symforce/opt/templates.h @@ -28,7 +28,7 @@ struct RangeGenerator : RangeGenerator {}; template struct RangeGenerator<0, S...> { - typedef Sequence Range; + using Range = Sequence; }; template @@ -50,7 +50,7 @@ auto indices(F f) { template struct remove_cvref { - typedef std::remove_cv_t> type; + using type = std::remove_cv_t>; }; template