Browse Source

Fix string_view.h

pull/2/head
Fangrui Song 7 years ago
parent
commit
57a4cf3265
  1. 6
      third_party/string_view.h

6
third_party/string_view.h

@ -1,7 +1,3 @@
#include <cstddef> // to check __GLIBCXX__
#if __cplusplus >= 201703L || (defined(__has_include) && __has_include(<string_view>) && !defined(__GLIBCXX__))
#include <string_view>
#else
#pragma once
#define STX_NAMESPACE_NAME std
#include "string_view.hpp"
#endif

Loading…
Cancel
Save