Commit 45425ba1 authored by Junmin Gu's avatar Junmin Gu

bug fix

parent d8a4c165
......@@ -291,9 +291,10 @@ int HDF5DataAdaptor::AddArray(vtkDataObject* mesh,
{
std::ostringstream oss;
oss<<"HDF5DataAdaptor::AddArray mesh="<<meshName<<" array="<<arrayName;
std::string evtName = oss.str();
timer::MarkEvent mark(evtName.c_str());
//timer::MarkEvent mark("HDF5DataAdaptor::AddArray");
timer::MarkEvent mark(oss.str().c_str());
// the mesh should never be null. there must have been an error
// upstream.
......
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