Permalink
Browse files

small compiler safety check

  • Loading branch information...
albertz committed Mar 8, 2011
1 parent ea3f129 commit 7888b12c706c53884a63962bd4be6d80c8526a86
Showing with 2 additions and 2 deletions.
  1. +2 −2 Png.h
View
4 Png.h
@@ -62,7 +62,7 @@ struct PngInterlacedPos {
size_t scanlineWidth(uint32_t width);
};
-struct PngReader {
+struct PngReader : DontCopyTag {
FILE* file;
z_stream stream;
PngHeader header;
@@ -79,7 +79,7 @@ struct PngReader {
Return read();
};
-struct PngWriter {
+struct PngWriter : DontCopyTag {
WriteCallbackIntf* writer;
z_stream stream;
std::list<PngChunk> chunks;

0 comments on commit 7888b12

Please sign in to comment.