tidy
This commit is contained in:
parent
2e8c0d36c2
commit
7de7464caf
1 changed files with 1 additions and 2 deletions
|
@ -213,7 +213,6 @@ tiff_reader<T>::tiff_reader(std::string const& filename)
|
||||||
is_tiled_(false)
|
is_tiled_(false)
|
||||||
{
|
{
|
||||||
source_.open(filename, std::ios_base::in | std::ios_base::binary);
|
source_.open(filename, std::ios_base::in | std::ios_base::binary);
|
||||||
if (!source_.is_open()) throw image_reader_exception("TIFF reader: cannot open file "+ filename);
|
|
||||||
if (!stream_) throw image_reader_exception("TIFF reader: cannot open file "+ filename);
|
if (!stream_) throw image_reader_exception("TIFF reader: cannot open file "+ filename);
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue