diff options
author | crupest <crupest@outlook.com> | 2020-12-30 17:23:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-12-30 17:23:15 +0800 |
commit | a5a3bb42dc812e9c57baf85fbc5960f4b55c3206 (patch) | |
tree | 5a0f2d69c41a4470a3e0e3d75e71cb24ad153020 /cpp-practicum/Book.hpp | |
parent | da40ea05ecee7e9a8478b672263ed7217cabbed4 (diff) | |
download | life-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.tar.gz life-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.tar.bz2 life-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.zip |
...
Diffstat (limited to 'cpp-practicum/Book.hpp')
-rw-r--r-- | cpp-practicum/Book.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp-practicum/Book.hpp b/cpp-practicum/Book.hpp index 2fb1123..250460f 100644 --- a/cpp-practicum/Book.hpp +++ b/cpp-practicum/Book.hpp @@ -44,7 +44,7 @@ private: std::u16string type_;
std::u16string author_;
std::u16string press_;
- int stock_count_;
+ int stock_count_ = 0;
};
QTextStream &operator>>(QTextStream &left, Book &right);
|