Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
79aa6d53
"git@developer.sourcefind.cn:gaoqiong/yaml-cpp.git" did not exist on "1d52e037502eb66d40b90d94e9e465f8aca1818a"
Unverified
Commit
79aa6d53
authored
Jul 15, 2021
by
mjvankampen
Committed by
GitHub
Jul 15, 2021
Browse files
Add assert to enable compilation with libcxx + gcc (#947)
parent
ef0bba17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
include/yaml-cpp/node/iterator.h
include/yaml-cpp/node/iterator.h
+3
-0
No files found.
include/yaml-cpp/node/iterator.h
View file @
79aa6d53
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
#include <utility>
#include <utility>
#include <vector>
#include <vector>
// Assert in place so gcc + libc++ combination properly builds
static_assert
(
std
::
is_constructible
<
YAML
::
Node
,
const
YAML
::
Node
&>::
value
,
"Node must be copy constructable"
);
namespace
YAML
{
namespace
YAML
{
namespace
detail
{
namespace
detail
{
struct
iterator_value
:
public
Node
,
std
::
pair
<
Node
,
Node
>
{
struct
iterator_value
:
public
Node
,
std
::
pair
<
Node
,
Node
>
{
...
...
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