/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2011-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void BENCHFUN(ctorFromTwoPointers)(size_t iters, size_t arg) {
/* library-local */ static STRING s;
BENCHMARK_SUSPEND {
- if (s.size() < arg) s.resize(arg);
+ if (s.size() < arg) {
+ s.resize(arg);
+ }
}
FOR_EACH_RANGE (i, 0, iters) {
STRING s1(s.begin(), s.end());