Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
3757b202
Commit
3757b202
authored
Dec 13, 2016
by
Raul Tambre
Committed by
Jesse Beder
Dec 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings in MSVC, #448 (#453)
parent
147d909f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/emitterutils.cpp
+2
-2
src/emitterutils.h
+2
-2
No files found.
src/emitterutils.cpp
View file @
3757b202
...
@@ -354,7 +354,7 @@ bool WriteDoubleQuotedString(ostream_wrapper& out, const std::string& str,
...
@@ -354,7 +354,7 @@ bool WriteDoubleQuotedString(ostream_wrapper& out, const std::string& str,
}
}
bool
WriteLiteralString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
WriteLiteralString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
in
t
indent
)
{
std
::
size_
t
indent
)
{
out
<<
"|
\n
"
;
out
<<
"|
\n
"
;
out
<<
IndentTo
(
indent
);
out
<<
IndentTo
(
indent
);
int
codePoint
;
int
codePoint
;
...
@@ -393,7 +393,7 @@ bool WriteChar(ostream_wrapper& out, char ch) {
...
@@ -393,7 +393,7 @@ bool WriteChar(ostream_wrapper& out, char ch) {
}
}
bool
WriteComment
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
WriteComment
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
in
t
postCommentIndent
)
{
std
::
size_
t
postCommentIndent
)
{
const
std
::
size_t
curIndent
=
out
.
col
();
const
std
::
size_t
curIndent
=
out
.
col
();
out
<<
"#"
<<
Indentation
(
postCommentIndent
);
out
<<
"#"
<<
Indentation
(
postCommentIndent
);
out
.
set_comment
();
out
.
set_comment
();
...
...
src/emitterutils.h
View file @
3757b202
...
@@ -34,10 +34,10 @@ bool WriteSingleQuotedString(ostream_wrapper& out, const std::string& str);
...
@@ -34,10 +34,10 @@ bool WriteSingleQuotedString(ostream_wrapper& out, const std::string& str);
bool
WriteDoubleQuotedString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
WriteDoubleQuotedString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
escapeNonAscii
);
bool
escapeNonAscii
);
bool
WriteLiteralString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
WriteLiteralString
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
in
t
indent
);
std
::
size_
t
indent
);
bool
WriteChar
(
ostream_wrapper
&
out
,
char
ch
);
bool
WriteChar
(
ostream_wrapper
&
out
,
char
ch
);
bool
WriteComment
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
WriteComment
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
in
t
postCommentIndent
);
std
::
size_
t
postCommentIndent
);
bool
WriteAlias
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
);
bool
WriteAlias
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
);
bool
WriteAnchor
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
);
bool
WriteAnchor
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
);
bool
WriteTag
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
verbatim
);
bool
WriteTag
(
ostream_wrapper
&
out
,
const
std
::
string
&
str
,
bool
verbatim
);
...
...
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