New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xmdf support #11
Xmdf support #11
Conversation
mdal/frmts/mdal_hdf5.hpp
Outdated
#ifndef MDAL_HDF5_HPP | ||
#define MDAL_HDF5_HPP | ||
|
||
/** A simple C++/Qt wrapper around HDF5 library API */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop 'Qt'
mdal/frmts/mdal_hdf5.hpp
Outdated
return data; | ||
} | ||
|
||
float readFloat() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
mdal/frmts/mdal_xmdf.cpp
Outdated
if ( ds.size() != 1 ) | ||
MDAL::debug( "Maximum dataset should have just one timestep!" ); | ||
else | ||
datasets.push_back( ds.at( 0 ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should use emplace_back instead of push_back for c++11
fixes #10
Copied from crayfish with removal of Qt