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
03fc8372
"docs/source/en/using-diffusers/write_own_pipeline.md" did not exist on "79c0e24a1442741c59c9b1d2764ba4dbfe56ac71"
Commit
03fc8372
authored
Sep 10, 2011
by
Jesse Beder
Browse files
Set up util/parse for the new API
parent
80cf3c98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
util/parse.cpp
util/parse.cpp
+2
-1
No files found.
util/parse.cpp
View file @
03fc8372
...
...
@@ -46,7 +46,8 @@ void parse(std::istream& input)
std
::
cout
<<
emitter
.
c_str
()
<<
"
\n
"
;
}
#else
// TODO: Parse with new API
YAML
::
Node
doc
=
YAML
::
Parse
(
input
);
std
::
cout
<<
doc
<<
"
\n
"
;
#endif
}
catch
(
const
YAML
::
Exception
&
e
)
{
std
::
cerr
<<
e
.
what
()
<<
"
\n
"
;
...
...
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