From 67751e87c7b8a81a7a25f409535af3a32b6396b9 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Mon, 29 Mar 2021 03:07:48 -0700 Subject: [PATCH] Fix linking --- quicktex/Decoder.h | 2 +- quicktex/Encoder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quicktex/Decoder.h b/quicktex/Decoder.h index 49168a6..258def4 100644 --- a/quicktex/Decoder.h +++ b/quicktex/Decoder.h @@ -31,7 +31,7 @@ template class Decoder { using Texture = T; virtual ~Decoder() = default; - virtual RawTexture Decode(const T &encoded) const; + virtual RawTexture Decode(const T &encoded) const = 0; }; template class BlockDecoder : public Decoder { diff --git a/quicktex/Encoder.h b/quicktex/Encoder.h index a232900..21db329 100644 --- a/quicktex/Encoder.h +++ b/quicktex/Encoder.h @@ -31,7 +31,7 @@ template class Encoder { using Texture = T; virtual ~Encoder() = default; - virtual T Encode(const RawTexture &decoded) const; + virtual T Encode(const RawTexture &decoded) const = 0; }; template class BlockEncoder : public Encoder {