2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Use operator T* of array_ptr.
	* src/OptionParser.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-02-12 13:12:54 +00:00
parent 2e9edd316a
commit a73ef15904
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use operator T* of array_ptr.
* src/OptionParser.cc
2009-02-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use localhost instead of 127.0.0.1

View File

@ -130,7 +130,7 @@ void OptionParser::parseArg
std::string optstring = createOptstring(_optionHandlers.begin(),
_optionHandlers.end());
while(1) {
int c = getopt_long(argc, argv, optstring.c_str(), &longOpts[0], 0);
int c = getopt_long(argc, argv, optstring.c_str(), longOpts, 0);
if(c == -1) {
break;
}