From ef1dfdee33c1949bc395098f5b9b96a35cf1a476 Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Mon, 30 Oct 2017 08:46:45 +1100 Subject: [PATCH] remove some unused code --- include/cxxopts.hpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 61f3d18..b767803 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -878,34 +878,10 @@ namespace cxxopts return m_value->has_arg(); } - void - parse(const std::string& text) - { - m_value->parse(text); - ++m_count; - } - - void - parse_default() - { - m_value->parse(); - } - const Value& value() const { return *m_value; } - template - const T& - as() const - { -#ifdef CXXOPTS_NO_RTTI - return static_cast&>(*m_value).get(); -#else - return dynamic_cast&>(*m_value).get(); -#endif - } - std::shared_ptr make_storage() const {