Skip to content

Commit

Permalink
Bug 1318000 - Replace default bodies of special member functions with…
Browse files Browse the repository at this point in the history
… = default; in image/. r=jrmuizel

MozReview-Commit-ID: FYzbhclEgyD
  • Loading branch information
abpostelnicu committed Nov 16, 2016
1 parent 5d7b558 commit 582322a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion image/imgLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ MOZ_DEFINE_MALLOC_SIZE_OF(ImagesMallocSizeOf)

class imgMemoryReporter final : public nsIMemoryReporter
{
~imgMemoryReporter() { }
~imgMemoryReporter() = default;

public:
NS_DECL_ISUPPORTS
Expand Down
2 changes: 1 addition & 1 deletion image/imgRequestProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using namespace mozilla::image;
class ProxyBehaviour
{
public:
virtual ~ProxyBehaviour() {}
virtual ~ProxyBehaviour() = default;

virtual already_AddRefed<mozilla::image::Image> GetImage() const = 0;
virtual bool HasImage() const = 0;
Expand Down

0 comments on commit 582322a

Please sign in to comment.