Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_stringref.hpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-29 20:48:32 +0200
committerMartin Hořeňovský2020-08-30 14:09:27 +0200
commita822cb9717b64b3b17047fe1ab4dc727c2ff39c4 (patch)
tree564f2e15e449786315af8069b0cdab2ae1262ebd /src/catch2/internal/catch_stringref.hpp
parentc26693df237f7a9c7330f0ad7334d9a96a65d46d (diff)
downloadcatch3-a822cb9717b64b3b17047fe1ab4dc727c2ff39c4.tar.gz
Standardize include guard patterns to FILE_NAME_EXTENSION_INCLUDED
This commit also strips the old copyright comment header in touched files, as those will also be replaced with a more standardized and machine-friendly version.
Diffstat (limited to 'src/catch2/internal/catch_stringref.hpp')
-rw-r--r--src/catch2/internal/catch_stringref.hpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/catch2/internal/catch_stringref.hpp b/src/catch2/internal/catch_stringref.hpp
index 773d6d33..5f1b6ca1 100644
--- a/src/catch2/internal/catch_stringref.hpp
+++ b/src/catch2/internal/catch_stringref.hpp
@@ -1,11 +1,5 @@
-/*
- * Copyright 2016 Two Blue Cubes Ltd. All rights reserved.
- *
- * Distributed under the Boost Software License, Version 1.0. (See accompanying
- * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- */
-#ifndef CATCH_STRINGREF_H_INCLUDED
-#define CATCH_STRINGREF_H_INCLUDED
+#ifndef CATCH_STRINGREF_HPP_INCLUDED
+#define CATCH_STRINGREF_HPP_INCLUDED
#include <cstddef>
#include <string>
@@ -114,4 +108,4 @@ constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) n
return Catch::StringRef( rawChars, size );
}
-#endif // CATCH_STRINGREF_H_INCLUDED
+#endif // CATCH_STRINGREF_HPP_INCLUDED