Skip to content

Commit

Permalink
Fix C++20 incompatibilities in IO extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorgner committed Jun 11, 2021
1 parent 7dd6120 commit effd078
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/bmp/tags.hpp
Expand Up @@ -73,7 +73,7 @@ template<>
struct image_read_info< bmp_tag >
{
/// Default contructor.
image_read_info< bmp_tag >()
image_read_info()
: _top_down(false)
, _valid( false )
{}
Expand Down
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/jpeg/tags.hpp
Expand Up @@ -141,7 +141,7 @@ template<>
struct image_read_settings< jpeg_tag > : public image_read_settings_base
{
/// Default constructor
image_read_settings<jpeg_tag>()
image_read_settings()
: image_read_settings_base()
, _dct_method( jpeg_dct_method::default_value )
{}
Expand Down
6 changes: 3 additions & 3 deletions include/boost/gil/extension/io/png/tags.hpp
Expand Up @@ -573,7 +573,7 @@ template<>
struct image_read_info< png_tag > : public png_info_base
{
/// Default constructor.
image_read_info< png_tag >()
image_read_info()
: png_info_base()
{}
};
Expand Down Expand Up @@ -669,7 +669,7 @@ struct image_read_settings< png_tag > : public image_read_settings_base
, public png_read_settings_base
{
/// Default Constructor
image_read_settings< png_tag >()
image_read_settings()
: image_read_settings_base()
, png_read_settings_base()
, _screen_gamma( 1.0 )
Expand Down Expand Up @@ -708,7 +708,7 @@ struct image_read_settings< png_tag > : public image_read_settings_base
, public png_read_settings_base
{
/// Default Constructor.
image_read_settings< png_tag >()
image_read_settings()
: image_read_settings_base()
, png_read_settings_base()
, _apply_screen_gamma( false )
Expand Down
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/pnm/tags.hpp
Expand Up @@ -65,7 +65,7 @@ template<>
struct image_read_settings< pnm_tag > : public image_read_settings_base
{
/// Default constructor
image_read_settings< pnm_tag >()
image_read_settings()
: image_read_settings_base()
{}

Expand Down
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/raw/tags.hpp
Expand Up @@ -123,7 +123,7 @@ template<>
struct image_read_info< raw_tag >
{
/// Default contructor.
image_read_info< raw_tag >()
image_read_info()
: _valid( false )
{}

Expand Down
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/targa/tags.hpp
Expand Up @@ -77,7 +77,7 @@ template<>
struct image_read_info< targa_tag >
{
/// Default contructor.
image_read_info< targa_tag >()
image_read_info()
: _screen_origin_bit(false)
, _valid( false )
{}
Expand Down
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/tiff/tags.hpp
Expand Up @@ -270,7 +270,7 @@ template<>
struct image_read_settings< tiff_tag > : public image_read_settings_base
{
/// Default constructor
image_read_settings< tiff_tag >()
image_read_settings()
: image_read_settings_base()
, _directory( tiff_directory::default_value::value )
{}
Expand Down

0 comments on commit effd078

Please sign in to comment.