Permalink
Browse files

removed unused member variable in opt1 impl

  • Loading branch information...
Neverlord committed Feb 19, 2013
1 parent e56200a commit cf4655f24c22bf1e62b2d191df4e0b0d7a655cbd
Showing with 2 additions and 4 deletions.
  1. +2 −4 cppa/detail/opt_impls.hpp
@@ -207,9 +207,8 @@ class opt1_rvalue_builder<false> {
sub_type;
template<typename SubType>
- opt1_rvalue_builder(char sopt, std::string lopt, SubType&& sub)
- : m_short(sopt), m_long(std::move(lopt))
- , m_sub(std::forward<SubType>(sub)) { }
+ opt1_rvalue_builder(std::string lopt, SubType&& sub)
+ : m_long(std::move(lopt)), m_sub(std::forward<SubType>(sub)) { }
template<typename Expr>
auto operator>>(Expr expr)
@@ -228,7 +227,6 @@ class opt1_rvalue_builder<false> {
template<typename T>
inline void inject_arg_name(const T&) { }
- char m_short;
std::string m_long;
sub_type m_sub;

0 comments on commit cf4655f

Please sign in to comment.