From 7539a2e110765367c33c2956d082c6f3f574bd5e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 9 May 2020 18:09:20 -0700 Subject: [PATCH] [clang-tidy] remove redundant const Found with readability-const-return-type Signed-off-by: Rosen Penev --- include/cxxopts.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 0501873..c636030 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1377,7 +1377,7 @@ namespace cxxopts std::string help(const std::vector& groups = {}) const; - const std::vector + std::vector groups() const; const HelpGroupDetails& @@ -2164,7 +2164,7 @@ Options::help(const std::vector& help_groups) const } inline -const std::vector +std::vector Options::groups() const { std::vector g;