mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Constify ConfigOptionVector::get_at.
This commit is contained in:
1 parent
d824de6168
commit
71b0b211ec
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user