[cybozu] disable warning

update-fork
MITSUNARI Shigeo 5 years ago
parent 73ee7d5bd3
commit cbc1f48da2
  1. 2
      include/cybozu/option.hpp

@ -345,7 +345,7 @@ class Option {
template<class T, class U> template<class T, class U>
void append(T *pvar, const U& defaultVal, bool isMust, const char *opt, const std::string& help = "") void append(T *pvar, const U& defaultVal, bool isMust, const char *opt, const std::string& help = "")
{ {
*pvar = defaultVal; *pvar = static_cast<const T&>(defaultVal);
appendSub(pvar, N_is1, isMust, opt, help); appendSub(pvar, N_is1, isMust, opt, help);
} }
/* /*

Loading…
Cancel
Save