From c3c022332ba83b75992967b8fbffe01d6647983d Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 13 Dec 2021 15:55:14 +1000 Subject: [PATCH] uri: prefer pragma over header guards --- uri.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/uri.hpp b/uri.hpp index b67a2bd7..bda4571a 100644 --- a/uri.hpp +++ b/uri.hpp @@ -6,8 +6,7 @@ * Copyright 2015, 2017 Danny Robson */ -#ifndef CRUFT_UTIL_URI_HPP -#define CRUFT_UTIL_URI_HPP +#pragma once #include "debug/assert.hpp" #include "view.hpp" @@ -99,6 +98,3 @@ namespace cruft { std::ostream& operator<< (std::ostream&, uri const&); std::ostream& operator<< (std::ostream&, uri::component); } - - -#endif