Explorar o código

bug fix for boost usage

Johannes Ruehle %!s(int64=11) %!d(string=hai) anos
pai
achega
dac50eefea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      features/localfeatures/LFonHSG.cpp

+ 1 - 1
features/localfeatures/LFonHSG.cpp

@@ -42,7 +42,7 @@ LFonHSG::LFonHSG (const Config *conf, const string section)
 
 #ifdef NICE_USELIB_BOOST
   typedef tokenizer<boost::char_separator<char> > tokenizer;
-  char_separator<char> sep (separator);
+  char_separator<char> sep (&separator);
   tokenizer tokens (scales, sep);		// parse the string into tokens
   for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter)
   {