BmpLoader::BmpLoader(IO::Base &i, unsigned sb):
io(i),
- sig_bytes(sb),
- invert_row_order(false)
+ sig_bytes(sb)
{
// Image data location is stored at offset 10 and can't be skipped
if(sig_bytes>10)
throw invalid_argument("BmpLoader::BmpLoader");
}
-bool BmpLoader::detect(const std::string &sig)
+bool BmpLoader::detect(const string &sig)
{
static const char bmp_sig[] = { 'B', 'M' };
if(sig.size()<sizeof(bmp_sig))