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
4725c4fa
Commit
4725c4fa
authored
Jul 27, 2009
by
jbeder
Browse files
Forgot to add mark.h
parent
7e26c711
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
include/mark.h
include/mark.h
+16
-0
No files found.
include/mark.h
0 → 100644
View file @
4725c4fa
#pragma once
namespace
YAML
{
struct
Mark
{
Mark
()
:
pos
(
0
),
line
(
0
),
column
(
0
)
{}
static
const
Mark
null
()
{
return
Mark
(
-
1
,
-
1
,
-
1
);
}
int
pos
;
int
line
,
column
;
private:
Mark
(
int
pos_
,
int
line_
,
int
column_
)
:
pos
(
pos_
),
line
(
line_
),
column
(
column_
)
{}
};
}
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