Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
7f1af7cb
Commit
7f1af7cb
authored
Oct 15, 2019
by
Brian Harris
Committed by
Wouter van Oortmerssen
Oct 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with gcc version 7.4.0 (#5570)
parent
32f47ad2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
base.h
include/flatbuffers/base.h
+1
-1
No files found.
include/flatbuffers/base.h
View file @
7f1af7cb
...
@@ -199,7 +199,7 @@ namespace flatbuffers {
...
@@ -199,7 +199,7 @@ namespace flatbuffers {
// to detect a header that provides an implementation
// to detect a header that provides an implementation
#if defined(__has_include)
#if defined(__has_include)
// Check for std::string_view (in c++17)
// Check for std::string_view (in c++17)
#if __has_include(<string_view>) && (__cplusplus >= 201606 ||
_HAS_CXX17
)
#if __has_include(<string_view>) && (__cplusplus >= 201606 ||
(defined(_HAS_CXX17) && _HAS_CXX17)
)
#include <string_view>
#include <string_view>
namespace
flatbuffers
{
namespace
flatbuffers
{
typedef
std
::
string_view
string_view
;
typedef
std
::
string_view
string_view
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment