summaryrefslogtreecommitdiff
path: root/src/generic/random.t.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/random.t.hpp')
-rw-r--r--src/generic/random.t.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/generic/random.t.hpp b/src/generic/random.t.hpp
index d26bf56..b4c4764 100644
--- a/src/generic/random.t.hpp
+++ b/src/generic/random.t.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_GENERIC_RANDOM_T_HPP
-#define TMWA_GENERIC_RANDOM_T_HPP
+#pragma once
// random.t.hpp - Random number generation.
//
// Copyright © 2013 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,8 +18,11 @@
// 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"
+
+namespace tmwa
+{
namespace random_
{
struct Fraction
@@ -39,5 +41,4 @@ namespace random_
}
};
} // namespace random_
-
-#endif // TMWA_GENERIC_RANDOM_T_HPP
+} // namespace tmwa