aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/TexturePacker/src
diff options
context:
space:
mode:
authorh.udo <hudokkow@gmail.com>2017-06-30 10:06:54 +0100
committerh.udo <hudokkow@gmail.com>2017-07-06 11:13:20 +0100
commitc8fe33f76a4a65cebfb9f1cf61c12ebd1fea7972 (patch)
treec705e17e5eb69b6ab5097cbadfa370c7faedbcdb /tools/depends/native/TexturePacker/src
parent42c731a6ce26647430da13ae25ce488955853143 (diff)
[modernize][TexturePacker] Prefer 'default' for declarations
Diffstat (limited to 'tools/depends/native/TexturePacker/src')
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h2
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/IDecoder.h2
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h2
-rw-r--r--tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h b/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
index d20256a9a7..de5732d439 100644
--- a/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/GIFDecoder.h
@@ -24,7 +24,7 @@
class GIFDecoder : public IDecoder
{
public:
- ~GIFDecoder() override{}
+ ~GIFDecoder() override = default;
bool CanDecode(const std::string &filename) override;
bool LoadFile(const std::string &filename, DecodedFrames &frames) override;
void FreeDecodedFrames(DecodedFrames &frames) override;
diff --git a/tools/depends/native/TexturePacker/src/decoder/IDecoder.h b/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
index 25363c7be1..68a29d596b 100644
--- a/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/IDecoder.h
@@ -59,7 +59,7 @@ class DecodedFrames
class IDecoder
{
public:
- virtual ~IDecoder(){}
+ virtual ~IDecoder() = default;
virtual bool CanDecode(const std::string &filename) = 0;
virtual bool LoadFile(const std::string &filename, DecodedFrames &frames) = 0;
virtual void FreeDecodedFrames(DecodedFrames &frames) = 0;
diff --git a/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h b/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
index fc703709fe..118dd7d127 100644
--- a/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/JPGDecoder.h
@@ -24,7 +24,7 @@
class JPGDecoder : public IDecoder
{
public:
- ~JPGDecoder() override{}
+ ~JPGDecoder() override = default;
bool CanDecode(const std::string &filename) override;
bool LoadFile(const std::string &filename, DecodedFrames &frames) override;
void FreeDecodedFrames(DecodedFrames &frames) override;
diff --git a/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h b/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
index 31997e79da..43fdb61b96 100644
--- a/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
+++ b/tools/depends/native/TexturePacker/src/decoder/PNGDecoder.h
@@ -24,7 +24,7 @@
class PNGDecoder : public IDecoder
{
public:
- ~PNGDecoder() override{}
+ ~PNGDecoder() override = default;
bool CanDecode(const std::string &filename) override;
bool LoadFile(const std::string &filename, DecodedFrames &frames) override;
void FreeDecodedFrames(DecodedFrames &frames) override;