aboutsummaryrefslogtreecommitdiff
path: root/src/BMPImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/BMPImage.h')
-rw-r--r--src/BMPImage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BMPImage.h b/src/BMPImage.h
index 697c72d..52db0b1 100644
--- a/src/BMPImage.h
+++ b/src/BMPImage.h
@@ -8,7 +8,8 @@ class BMPImage : public Image
{
private:
public:
- template<std::derived_from<Image> T> BMPImage(const T& other) : Image(other) { }
+ // template<std::derived_from<Image> T> BMPImage(const T& other) : Image(other) { }
+ BMPImage(const Image& other) : Image(other) {}
int readFromFile(std::string filename) override;
int writeToFile(std::string filename) override;