Fixed inconsistent indentation by replacing tabs with spaces.

This commit is contained in:
Robin Degen 2016-06-08 07:41:12 +02:00
parent b94a220c4a
commit e9f995c2f4
3 changed files with 5 additions and 5 deletions

View File

@ -101,7 +101,7 @@ public:
not_null(std::nullptr_t) = delete; not_null(std::nullptr_t) = delete;
not_null(int) = delete; not_null(int) = delete;
not_null<T>& operator=(std::nullptr_t) = delete; not_null<T>& operator=(std::nullptr_t) = delete;
not_null<T>& operator=(int) = delete; not_null<T>& operator=(int) = delete;
T get() const { T get() const {
#ifdef _MSC_VER #ifdef _MSC_VER
@ -113,8 +113,8 @@ public:
operator T() const { return get(); } operator T() const { return get(); }
T operator->() const { return get(); } T operator->() const { return get(); }
bool operator==(const T& rhs) const { return ptr_ == rhs; } 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 !(*this == rhs); }
private: private:
T ptr_; T ptr_;

View File

@ -47,7 +47,7 @@ namespace gsl
{ {
struct fail_fast : public std::runtime_error 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) {}
}; };
} }

View File

@ -255,7 +255,7 @@ public:
constexpr basic_string_span(basic_string_span&& other) = default; constexpr basic_string_span(basic_string_span&& other) = default;
#else #else
constexpr basic_string_span(basic_string_span&& other) constexpr basic_string_span(basic_string_span&& other)
: span_(std::move(other.span_)) : span_(std::move(other.span_))
{} {}
#endif #endif