|
2 | 2 | * File: params.h
|
3 | 3 | * Description: Class definitions of the *_VAR classes for tunable constants.
|
4 | 4 | * Author: Ray Smith
|
5 |
| - * Created: Fri Feb 22 11:26:25 GMT 1991 |
6 | 5 | *
|
7 | 6 | * (C) Copyright 1991, Hewlett-Packard Ltd.
|
8 | 7 | ** Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -157,6 +156,7 @@ class IntParam : public Param {
|
157 | 156 | // printf("overriding param %s=%d by =%d\n", name_, value_,
|
158 | 157 | // *vec->int_params[i]);
|
159 | 158 | value_ = *vec->int_params[i];
|
| 159 | + break; |
160 | 160 | }
|
161 | 161 | }
|
162 | 162 | }
|
@@ -189,6 +189,7 @@ class BoolParam : public Param {
|
189 | 189 | // printf("overriding param %s=%s by =%s\n", name_, value_ ? "true" :
|
190 | 190 | // "false", *vec->bool_params[i] ? "true" : "false");
|
191 | 191 | value_ = *vec->bool_params[i];
|
| 192 | + break; |
192 | 193 | }
|
193 | 194 | }
|
194 | 195 | }
|
@@ -225,6 +226,7 @@ class StringParam : public Param {
|
225 | 226 | // printf("overriding param %s=%s by =%s\n", name_, value_,
|
226 | 227 | // vec->string_params[i]->c_str());
|
227 | 228 | value_ = *vec->string_params[i];
|
| 229 | + break; |
228 | 230 | }
|
229 | 231 | }
|
230 | 232 | }
|
@@ -257,6 +259,7 @@ class DoubleParam : public Param {
|
257 | 259 | // printf("overriding param %s=%f by =%f\n", name_, value_,
|
258 | 260 | // *vec->double_params[i]);
|
259 | 261 | value_ = *vec->double_params[i];
|
| 262 | + break; |
260 | 263 | }
|
261 | 264 | }
|
262 | 265 | }
|
|
0 commit comments