From a84cee8127a0e9724b26e7d1d527f220c358c328 Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Mon, 31 Jul 2017 12:00:02 -0700 Subject: [PATCH] Add a missing "once" in .h Summary: Closes https://github.com/facebook/rocksdb/pull/2670 Differential Revision: D5529018 Pulled By: siying fbshipit-source-id: 10a378933d509035d2dbe502247dd85fcea09789 --- util/cast_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/cast_util.h b/util/cast_util.h index b42d5d6c4..2dc8138ab 100644 --- a/util/cast_util.h +++ b/util/cast_util.h @@ -3,6 +3,8 @@ // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). +#pragma once + namespace rocksdb { // The helper function to assert the move from dynamic_cast<> to // static_cast<> is correct. This function is to deal with legacy code.