Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Henze <34543625+beinhaerter@users.noreply.github.com>2022-02-01 00:06:42 +0300
committerGitHub <noreply@github.com>2022-02-01 00:06:42 +0300
commit4377f6e603c64a86c934f1546aa9db482f2e1a4e (patch)
treed4c24917e04db7e64801f3c43def4e20c9266979 /include/gsl/util
parenta3534567187d2edc428efd3f13466ff75fe5805c (diff)
quoted form of #include when GSL includes GSL files (#1030)
[SF.12: Prefer the quoted form of #include for files relative to the including file and the angle bracket form everywhere else](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rs-incform) Additionally changed #include order in `span` so that all `span_ext` is in the GSL include block and not in the STL include block. Fixes issues #1025. Co-authored-by: Werner Henze <w.henze@avm.de>
Diffstat (limited to 'include/gsl/util')
-rw-r--r--include/gsl/util2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gsl/util b/include/gsl/util
index a215bad..b6dbd18 100644
--- a/include/gsl/util
+++ b/include/gsl/util
@@ -17,7 +17,7 @@
#ifndef GSL_UTIL_H
#define GSL_UTIL_H
-#include <gsl/assert> // for Expects
+#include "assert" // for Expects
#include <array>
#include <cstddef> // for ptrdiff_t, size_t