uri: prefer pragma over header guards

This commit is contained in:
Danny Robson 2021-12-13 15:55:14 +10:00
parent 1181291852
commit c3c022332b

View File

@ -6,8 +6,7 @@
* Copyright 2015, 2017 Danny Robson <danny@nerdcruft.net>
*/
#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