Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C++20 incompatibilities in IO extensions #617

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/bmp/tags.hpp
Original file line number Diff line number Diff line change
@@ -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 )
{}
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/jpeg/tags.hpp
Original file line number Diff line number Diff line change
@@ -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 )
{}
6 changes: 3 additions & 3 deletions include/boost/gil/extension/io/png/tags.hpp
Original file line number Diff line number Diff line change
@@ -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()
{}
};
@@ -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 )
@@ -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 )
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/pnm/tags.hpp
Original file line number Diff line number Diff line change
@@ -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()
{}

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

2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/targa/tags.hpp
Original file line number Diff line number Diff line change
@@ -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 )
{}
2 changes: 1 addition & 1 deletion include/boost/gil/extension/io/tiff/tags.hpp
Original file line number Diff line number Diff line change
@@ -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 )
{}