We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e7fb0 commit 80b3a04Copy full SHA for 80b3a04
src/options_description.cpp
@@ -121,9 +121,7 @@ namespace boost { namespace program_options {
121
std::string name(_name);
122
string::size_type n = name.find(',');
123
if (n != string::npos) {
124
- // this potentially fails on VC++ when compiled
125
- // with /MDd (?), See Ticket #773
126
- assert(n == name.size() - 2*sizeof(string::value_type));
+ assert(n == name.size()-2);
127
m_long_name = name.substr(0, n);
128
m_short_name = '-' + name.substr(n+1,1);
129
} else {
0 commit comments