Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HEPnOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
sds
HEP
HEPnOS
Commits
dd89d219
Commit
dd89d219
authored
Sep 26, 2019
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected dataset::begin
parent
d66b87ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/DataSet.cpp
src/DataSet.cpp
+3
-1
No files found.
src/DataSet.cpp
View file @
dd89d219
...
@@ -253,7 +253,9 @@ DataSet::iterator DataSet::begin() {
...
@@ -253,7 +253,9 @@ DataSet::iterator DataSet::begin() {
if
(
!
valid
())
{
if
(
!
valid
())
{
throw
Exception
(
"Calling DataSet member function on an invalid DataSet"
);
throw
Exception
(
"Calling DataSet member function on an invalid DataSet"
);
}
}
DataSet
ds
(
m_impl
->
m_datastore
,
m_impl
->
m_level
+
1
,
fullname
(),
""
);
// we use the prefix "&" because we need something that comes after "%"
// (which represents runs) and is not going to be in a dataset name
DataSet
ds
(
m_impl
->
m_datastore
,
m_impl
->
m_level
+
1
,
fullname
(),
"&"
);
ds
=
ds
.
next
();
ds
=
ds
.
next
();
if
(
ds
.
valid
())
return
iterator
(
ds
);
if
(
ds
.
valid
())
return
iterator
(
ds
);
else
return
end
();
else
return
end
();
...
...
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