浏览代码

minor fix in inheritance function call

Johannes Ruehle 11 年之前
父节点
当前提交
4db399eae6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      semseg/SemSegNovelty.cpp

+ 1 - 1
semseg/SemSegNovelty.cpp

@@ -68,7 +68,7 @@ SemSegNovelty::SemSegNovelty ( const Config * _conf,
   ///////////
   // here comes the new code part different from the empty constructor
   ///////////    
-  SemanticSegmentation::setClassNames ( & ( md->getClassNames ( "train" ) ) );
+  this->setClassNames ( & ( md->getClassNames ( "train" ) ) );
   
   this->initFromConfig( _conf ); 
 }