summaryrefslogtreecommitdiff
path: root/src/compat/fun.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/fun.hpp')
-rw-r--r--src/compat/fun.hpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/compat/fun.hpp b/src/compat/fun.hpp
index 005f2c5..8073fe7 100644
--- a/src/compat/fun.hpp
+++ b/src/compat/fun.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_COMPAT_FUN_HPP
-#define TMWA_COMPAT_FUN_HPP
+#pragma once
// fun.hpp - Functional placeholders.
//
// Copyright © 2013 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,13 +18,12 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include <functional>
-
-# include "../sanity.hpp"
+#include <functional>
+namespace tmwa
+{
namespace ph = std::placeholders;
-
-#endif // TMWA_COMPAT_FUN_HPP
+} // namespace tmwa