소스 검색

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)
   {