Skip to content

Commit 80b3a04

Browse files
author
Sascha Ochsenknecht
committed
revert changes for #773
[SVN r58237]
1 parent f4e7fb0 commit 80b3a04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/options_description.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ namespace boost { namespace program_options {
121121
std::string name(_name);
122122
string::size_type n = name.find(',');
123123
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));
124+
assert(n == name.size()-2);
127125
m_long_name = name.substr(0, n);
128126
m_short_name = '-' + name.substr(n+1,1);
129127
} else {

0 commit comments

Comments
 (0)