Skip to content

Commit

Permalink
explicitly init rotate=0
Browse files Browse the repository at this point in the history
  • Loading branch information
whatdoineed2do committed Jun 17, 2018
1 parent 283db10 commit f0126d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ImgData.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ class ImgData
std::string rating;

struct MetaImg {
MetaImg() = default;
MetaImg() : rotate(0) { }

MetaImg(const MetaImg& rhs_) :
dpi(rhs_.dpi),
rotate(rhs_.rotate),
Expand Down

0 comments on commit f0126d4

Please sign in to comment.