]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/bmploader.cpp
Update .gitignore to include build products on Windows
[libs/gui.git] / source / graphics / bmploader.cpp
index 8a6c7a00872275211f2f17cfb48f62d8283c3d5b..eb069a11dceea856174040ecf29427cbd36028f9 100644 (file)
@@ -29,15 +29,14 @@ namespace Graphics {
 
 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))