From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- src/tests/fdhack.hpp | 19 ++++++++----------- src/tests/fwd.hpp | 7 ++----- 2 files changed, 10 insertions(+), 16 deletions(-) (limited to 'src/tests') diff --git a/src/tests/fdhack.hpp b/src/tests/fdhack.hpp index 4b9fafe..c75bfea 100644 --- a/src/tests/fdhack.hpp +++ b/src/tests/fdhack.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_TESTS_FDHACK_HPP -#define TMWA_TESTS_FDHACK_HPP +#pragma once // fdhack.hpp - Move file descriptors around. // // Copyright © 2014 Ben Longbons @@ -19,17 +18,17 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "fwd.hpp" +#include "fwd.hpp" -# include -# include +#include +#include -# include +#include -# include "../strings/literal.hpp" -# include "../strings/zstring.hpp" +#include "../strings/literal.hpp" +#include "../strings/zstring.hpp" -# include "../io/fd.hpp" +#include "../io/fd.hpp" namespace tmwa { @@ -57,5 +56,3 @@ public: {} }; } // namespace tmwa - -#endif // TMWA_TESTS_FDHACK_HPP diff --git a/src/tests/fwd.hpp b/src/tests/fwd.hpp index c47fd0f..48627da 100644 --- a/src/tests/fwd.hpp +++ b/src/tests/fwd.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_TESTS_FWD_HPP -#define TMWA_TESTS_FWD_HPP +#pragma once // tests/fwd.hpp - list of type names for test libs // // Copyright © 2014 Ben Longbons @@ -19,12 +18,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "../sanity.hpp" +#include "../sanity.hpp" namespace tmwa { // meh, add more when I feel like it } // namespace tmwa - -#endif // TMWA_TESTS_FWD_HPP -- cgit v1.2.3-70-g09d2