瀏覽代碼

Added const to Option::getTable()

Tatsuhiro Tsujikawa 14 年之前
父節點
當前提交
031f1199d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Option.h

+ 1 - 1
src/Option.h

@@ -71,7 +71,7 @@ public:
 
   void clear();
 
-  const std::vector<std::string>& getTable()
+  const std::vector<std::string>& getTable() const
   {
     return table_;
   }