1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Constify ConfigOptionVector::get_at.

This commit is contained in:
Y. Sapir
2014-04-28 00:19:03 +03:00
parent d824de6168
commit 71b0b211ec
+1 -1
View File
@@ -33,7 +33,7 @@ class ConfigOptionVector
virtual ~ConfigOptionVector() {};
std::vector<T> values;
T get_at(size_t i) {
T get_at(size_t i) const {
try {
return this->values.at(i);
} catch (const std::out_of_range& oor) {