Pārlūkot izejas kodu

bug fix for boost usage

Johannes Ruehle 11 gadi atpakaļ
vecāks
revīzija
dac50eefea
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
   {