diff options
| author | BossCode45 <boss@tehbox.org> | 2025-06-28 00:44:40 +1200 |
|---|---|---|
| committer | BossCode45 <boss@tehbox.org> | 2025-07-24 12:48:21 +1200 |
| commit | 3e4cad0bfd36536ffc870d16a6e26aac5049dd0b (patch) | |
| tree | 3f0ecd09760267a108f5d97e43d31cfb8741cf55 /src/PNGImage.h | |
| parent | 078b4e08fe3bccb7424dac76e158bf8bf48a182d (diff) | |
| download | tehimage-3e4cad0bfd36536ffc870d16a6e26aac5049dd0b.tar.gz tehimage-3e4cad0bfd36536ffc870d16a6e26aac5049dd0b.zip | |
fixup: Updated some stuff
Mainly just cleaning up code
Diffstat (limited to 'src/PNGImage.h')
| -rw-r--r-- | src/PNGImage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PNGImage.h b/src/PNGImage.h index e937212..31ed429 100644 --- a/src/PNGImage.h +++ b/src/PNGImage.h @@ -24,7 +24,8 @@ public: PNGImage(); ~PNGImage(); - template<std::derived_from<Image> T> PNGImage(const T& other) : Image(other) { } + // template<std::derived_from<Image> T> PNGImage(const T& other) : Image(other) { } + PNGImage(const Image& other) : Image(other) {} int readFromFile(std::string filename) override; int writeToFile(std::string filename) override; |
