Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d92a169b
Commit
d92a169b
authored
Jan 07, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: dash: const correctness
parent
0785e30c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/demux/dash/xml/Node.cpp
modules/demux/dash/xml/Node.cpp
+1
-1
modules/demux/dash/xml/Node.h
modules/demux/dash/xml/Node.h
+1
-1
No files found.
modules/demux/dash/xml/Node.cpp
View file @
d92a169b
...
...
@@ -62,7 +62,7 @@ void Node::setName (const std::stri
this
->
name
=
name
;
}
bool
Node
::
hasAttribute
(
const
std
::
string
&
name
)
bool
Node
::
hasAttribute
(
const
std
::
string
&
name
)
const
{
if
(
this
->
attributes
.
find
(
name
)
!=
this
->
attributes
.
end
())
return
true
;
...
...
modules/demux/dash/xml/Node.h
View file @
d92a169b
...
...
@@ -44,7 +44,7 @@ namespace dash
void
addSubNode
(
Node
*
node
);
const
std
::
string
&
getName
()
const
;
void
setName
(
const
std
::
string
&
name
);
bool
hasAttribute
(
const
std
::
string
&
name
);
bool
hasAttribute
(
const
std
::
string
&
name
)
const
;
void
addAttribute
(
const
std
::
string
&
key
,
const
std
::
string
&
value
);
const
std
::
string
&
getAttributeValue
(
const
std
::
string
&
key
)
const
;
std
::
vector
<
std
::
string
>
getAttributeKeys
()
const
;
...
...
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