summaryrefslogtreecommitdiff
path: root/benchmark/function/camera_function.benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/function/camera_function.benchmark.cpp')
-rw-r--r--benchmark/function/camera_function.benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/function/camera_function.benchmark.cpp b/benchmark/function/camera_function.benchmark.cpp
index 52b6bc9f08..51d2e22293 100644
--- a/benchmark/function/camera_function.benchmark.cpp
+++ b/benchmark/function/camera_function.benchmark.cpp
@@ -27,7 +27,7 @@ static void Parse_CameraFunction(benchmark::State& state) {
state.PauseTiming();
auto doc = createFunctionJSON(stopCount);
state.ResumeTiming();
- optional<PropertyValue<float>> result = conversion::convertJSON<PropertyValue<float>>(doc, error);
+ optional<PropertyValue<float>> result = conversion::convertJSON<PropertyValue<float>>(doc, error, false, false);
if (!result) {
state.SkipWithError(error.message.c_str());
}
@@ -39,7 +39,7 @@ static void Evaluate_CameraFunction(benchmark::State& state) {
size_t stopCount = state.range(0);
auto doc = createFunctionJSON(stopCount);
conversion::Error error;
- optional<PropertyValue<float>> function = conversion::convertJSON<PropertyValue<float>>(doc, error);
+ optional<PropertyValue<float>> function = conversion::convertJSON<PropertyValue<float>>(doc, error, false, false);
if (!function) {
state.SkipWithError(error.message.c_str());
}