Переглянути джерело

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_;
   }