Commit dd89d219 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

corrected dataset::begin

parent d66b87ac
......@@ -253,7 +253,9 @@ DataSet::iterator DataSet::begin() {
if(!valid()) {
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 =;
if(ds.valid()) return iterator(ds);
else return end();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment