From e9f995c2f444aecd7e1190539b23fba7a273e193 Mon Sep 17 00:00:00 2001 From: Robin Degen Date: Wed, 8 Jun 2016 07:41:12 +0200 Subject: [PATCH] Fixed inconsistent indentation by replacing tabs with spaces. --- include/gsl.h | 6 +++--- include/gsl_assert.h | 2 +- include/string_span.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/gsl.h b/include/gsl.h index ad064ba..b1f4086 100644 --- a/include/gsl.h +++ b/include/gsl.h @@ -101,7 +101,7 @@ public: not_null(std::nullptr_t) = delete; not_null(int) = delete; not_null& operator=(std::nullptr_t) = delete; - not_null& operator=(int) = delete; + not_null& operator=(int) = delete; T get() const { #ifdef _MSC_VER @@ -113,8 +113,8 @@ public: operator T() const { return get(); } T operator->() const { return get(); } - bool operator==(const T& rhs) const { return ptr_ == rhs; } - bool operator!=(const T& rhs) const { return !(*this == rhs); } + bool operator==(const T& rhs) const { return ptr_ == rhs; } + bool operator!=(const T& rhs) const { return !(*this == rhs); } private: T ptr_; diff --git a/include/gsl_assert.h b/include/gsl_assert.h index 51e8ab6..4bee885 100644 --- a/include/gsl_assert.h +++ b/include/gsl_assert.h @@ -47,7 +47,7 @@ namespace gsl { struct fail_fast : public std::runtime_error { - explicit fail_fast(char const* const message) : std::runtime_error(message) {} + explicit fail_fast(char const* const message) : std::runtime_error(message) {} }; } diff --git a/include/string_span.h b/include/string_span.h index fdcbf31..1126f24 100644 --- a/include/string_span.h +++ b/include/string_span.h @@ -255,7 +255,7 @@ public: constexpr basic_string_span(basic_string_span&& other) = default; #else constexpr basic_string_span(basic_string_span&& other) - : span_(std::move(other.span_)) + : span_(std::move(other.span_)) {} #endif