Преглед на файлове

bug fix for boost usage

Johannes Ruehle преди 11 години
родител
ревизия
dac50eefea
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)
   {