folly: replace old-style header guards with "pragma once"
[folly.git] / folly / test / function_benchmark / benchmark_impl.h
index d7766fbc8f98f75f5d533d02d368cf497c1cd4e0..b6865f7a7c5e1db6a4161f909b79b305a6093123 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef BENCHMARK_IMPL_H_
-#define BENCHMARK_IMPL_H_
+
+#pragma once
 
 #include <functional>
 
@@ -49,5 +49,3 @@ void BM_invoke_fn_template_impl(int iters, const T& fn) {
     fn();
   }
 }
-
-#endif // BENCHMARK_IMPL_H_