Skip to content

Commit

Permalink
Merge pull request #94 from acolwell/fix_build_for_c++20
Browse files Browse the repository at this point in the history
Fixes to allow building with C++20.
  • Loading branch information
acolwell authored Mar 17, 2024
2 parents 15d4f5e + 10a17f8 commit 294ca3e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CImg/Matrix/CImgMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ class CImgMatrixPluginFactory
: public PluginFactoryHelper<CImgMatrixPluginFactory<dim> >
{
public:
CImgMatrixPluginFactory<dim>(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<CImgMatrixPluginFactory>(id, verMaj, verMin)
CImgMatrixPluginFactory(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<CImgMatrixPluginFactory<dim> >(id, verMaj, verMin)
{
}

Expand Down
4 changes: 2 additions & 2 deletions Distortion/Distortion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3390,8 +3390,8 @@ class DistortionPluginFactory
: public PluginFactoryHelper<DistortionPluginFactory<plugin, majorVersion> >
{
public:
DistortionPluginFactory<plugin, majorVersion>(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<DistortionPluginFactory>(id, verMaj, verMin)
DistortionPluginFactory(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<DistortionPluginFactory<plugin, majorVersion> >(id, verMaj, verMin)
{
}
virtual void load() OVERRIDE FINAL {ofxsThreadSuiteCheck();}
Expand Down
4 changes: 2 additions & 2 deletions Merge/Merge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1407,8 +1407,8 @@ class MergePluginFactory
: public PluginFactoryHelper<MergePluginFactory<majorVersion,plugin> >
{
public:
MergePluginFactory<majorVersion,plugin>(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<MergePluginFactory>(id, verMaj, verMin)
MergePluginFactory(const std::string & id, unsigned int verMaj, unsigned int verMin)
: PluginFactoryHelper<MergePluginFactory<majorVersion,plugin> >(id, verMaj, verMin)
{
}

Expand Down
2 changes: 1 addition & 1 deletion openfx

0 comments on commit 294ca3e

Please sign in to comment.