From 09e0b6e9a70a4a008720a9d2d361fb8771a94062 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 30 Aug 2019 10:14:07 +1000 Subject: [PATCH] geom/fwd: add forward declaration for region --- geom/fwd.hpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/geom/fwd.hpp b/geom/fwd.hpp index 3401e844..c99b17f8 100644 --- a/geom/fwd.hpp +++ b/geom/fwd.hpp @@ -6,10 +6,13 @@ * Copyright 2015-2018 Danny Robson */ -#ifndef CRUFT__UTIL_GEOM_FWD_HPP -#define CRUFT__UTIL_GEOM_FWD_HPP +#pragma once -#include +#include + +namespace cruft { + template struct region; +} namespace cruft::geom { template struct aabb; @@ -24,5 +27,3 @@ namespace cruft::geom { template struct frustum; } - -#endif