aboutsummaryrefslogtreecommitdiff
path: root/cpp-practicum/Book.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-12-30 17:23:15 +0800
committercrupest <crupest@outlook.com>2020-12-30 17:23:15 +0800
commita5a3bb42dc812e9c57baf85fbc5960f4b55c3206 (patch)
tree5a0f2d69c41a4470a3e0e3d75e71cb24ad153020 /cpp-practicum/Book.hpp
parentda40ea05ecee7e9a8478b672263ed7217cabbed4 (diff)
downloadlife-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.tar.gz
life-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.tar.bz2
life-a5a3bb42dc812e9c57baf85fbc5960f4b55c3206.zip
...
Diffstat (limited to 'cpp-practicum/Book.hpp')
-rw-r--r--cpp-practicum/Book.hpp2
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);