Merge remote-tracking branch 'remotes/origin/master'
Conflicts: src/cxxopts.hpp
This commit is contained in:
commit
f4c429390f
@ -586,7 +586,11 @@ namespace cxxopts
|
||||
const T&
|
||||
as() const
|
||||
{
|
||||
#ifdef CXXOPTS_NO_RTTI
|
||||
return static_cast<const values::standard_value<T>&>(*m_value).get();
|
||||
#else
|
||||
return dynamic_cast<const values::standard_value<T>&>(*m_value).get();
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user