offer alternate instanciation also for new compilers; refs #6

master
Marc Wäckerlin 11 years ago
parent e038c044d1
commit 3008592ecb
  1. 2
      src/mrw/args.hxx

@ -175,11 +175,9 @@ namespace mrw {
} }
struct decl { struct decl {
typedef std::vector<param_ptr> param_list; typedef std::vector<param_ptr> param_list;
#ifdef MRW__OLD_PRE11_COMPILER
decl(std::string p1, std::string p2, std::string p3, param_list p4): decl(std::string p1, std::string p2, std::string p3, param_list p4):
short_arg(p1), long_arg(p2), desc(p3), params(p4) { short_arg(p1), long_arg(p2), desc(p3), params(p4) {
} }
#endif
std::string short_arg; std::string short_arg;
std::string long_arg; std::string long_arg;
std::string desc; std::string desc;

Loading…
Cancel
Save