From f30cd36196b558c263ae3f666fd8b0dee12aef94 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Sun, 15 Feb 2015 21:58:48 +0800 Subject: [PATCH] Revert "Add #pragma once" Not everyone like it This reverts commit 9b80e75b050c14e8fb69c554e11c30eac321a053. --- format.h | 2 -- posix.h | 2 -- test/gtest-extra.h | 2 -- test/mock-allocator.h | 2 -- test/posix-test.h | 2 -- 5 files changed, 10 deletions(-) diff --git a/format.h b/format.h index 1f217b5e..52e8d5b3 100644 --- a/format.h +++ b/format.h @@ -25,8 +25,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#pragma once - #ifndef FMT_FORMAT_H_ #define FMT_FORMAT_H_ diff --git a/posix.h b/posix.h index 8ae38bec..a2cf2b13 100644 --- a/posix.h +++ b/posix.h @@ -25,8 +25,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#pragma once - #ifndef FMT_POSIX_H_ #define FMT_POSIX_H_ diff --git a/test/gtest-extra.h b/test/gtest-extra.h index d34e8188..df9cb7f0 100644 --- a/test/gtest-extra.h +++ b/test/gtest-extra.h @@ -25,8 +25,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#pragma once - #ifndef FMT_GTEST_EXTRA_H_ #define FMT_GTEST_EXTRA_H_ diff --git a/test/mock-allocator.h b/test/mock-allocator.h index 8b23aaf6..7de1e1a0 100644 --- a/test/mock-allocator.h +++ b/test/mock-allocator.h @@ -25,8 +25,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#pragma once - #ifndef FMT_MOCK_ALLOCATOR_H_ #define FMT_MOCK_ALLOCATOR_H_ diff --git a/test/posix-test.h b/test/posix-test.h index 60242439..4768cb94 100644 --- a/test/posix-test.h +++ b/test/posix-test.h @@ -25,8 +25,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#pragma once - #ifndef FMT_POSIX_TEST_H #define FMT_POSIX_TEST_H