Fix linking

This commit is contained in:
Andrew Cassidy 2021-03-29 03:07:48 -07:00
parent caef02e57f
commit 67751e87c7
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ template <class T> class Decoder {
using Texture = T; using Texture = T;
virtual ~Decoder() = default; virtual ~Decoder() = default;
virtual RawTexture Decode(const T &encoded) const; virtual RawTexture Decode(const T &encoded) const = 0;
}; };
template <class T> class BlockDecoder : public Decoder<T> { template <class T> class BlockDecoder : public Decoder<T> {

View File

@ -31,7 +31,7 @@ template <typename T> class Encoder {
using Texture = T; using Texture = T;
virtual ~Encoder() = default; virtual ~Encoder() = default;
virtual T Encode(const RawTexture &decoded) const; virtual T Encode(const RawTexture &decoded) const = 0;
}; };
template <typename T> class BlockEncoder : public Encoder<T> { template <typename T> class BlockEncoder : public Encoder<T> {