Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
HEP
HEPnOS
Commits
c4044fd9
Commit
c4044fd9
authored
Apr 13, 2018
by
Matthieu Dorier
Browse files
small correction to the dataset creation methods
parent
c350d83f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/DataSet.cpp
View file @
c4044fd9
...
...
@@ -113,6 +113,7 @@ DataSet DataSet::createDataSet(const std::string& name) {
throw
Exception
(
"Invalid character '/' in dataset name"
);
}
m_impl
->
m_datastore
->
store
(
m_impl
->
m_level
+
1
,
fullname
(),
name
,
std
::
vector
<
char
>
());
return
DataSet
(
*
(
m_impl
->
m_datastore
),
1
,
fullname
(),
name
);
}
}
src/DataStore.cpp
View file @
c4044fd9
...
...
@@ -338,7 +338,7 @@ DataSet DataStore::createDataSet(const std::string& name) {
throw
Exception
(
"Invalid character '/' in dataset name"
);
}
store
(
1
,
""
,
name
,
std
::
vector
<
char
>
());
return
DataSet
(
*
this
,
1
,
name
);
return
DataSet
(
*
this
,
1
,
""
,
name
);
}
bool
DataStore
::
load
(
uint8_t
level
,
const
std
::
string
&
containerName
,
...
...
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