From bc06a9bc2ad434675f31f80648d11c8954333385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 15 Feb 2021 11:21:43 +0100 Subject: [PATCH] Fix tests that was executing nothing due to bad include order. --- example/doc_managed_mapped_file.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/example/doc_managed_mapped_file.cpp b/example/doc_managed_mapped_file.cpp index 2b59626..8f11862 100644 --- a/example/doc_managed_mapped_file.cpp +++ b/example/doc_managed_mapped_file.cpp @@ -7,11 +7,10 @@ // See http://www.boost.org/libs/interprocess for documentation. // ////////////////////////////////////////////////////////////////////////////// -#if defined(BOOST_INTERPROCESS_MAPPED_FILES) - -#include #include +#if defined(BOOST_INTERPROCESS_MAPPED_FILES) + #include #include #include @@ -107,8 +106,6 @@ int main () return 0; } -#include - #else //#if defined(BOOST_INTERPROCESS_MAPPED_FILES) int main() {