aboutsummaryrefslogtreecommitdiff
path: root/works/life/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
commitd0b6d6377de44484568af2ef3a3bbd4da7cdfb4b (patch)
treeee87702ec50a5c5a26ee8fb446bd4995082bd792 /works/life/cpp-practicum/Book.hpp
parent1e148e88abe8aca881590f4b9d992a2f03587ed7 (diff)
downloadcrupest-d0b6d6377de44484568af2ef3a3bbd4da7cdfb4b.tar.gz
crupest-d0b6d6377de44484568af2ef3a3bbd4da7cdfb4b.tar.bz2
crupest-d0b6d6377de44484568af2ef3a3bbd4da7cdfb4b.zip
import(life): ...
Diffstat (limited to 'works/life/cpp-practicum/Book.hpp')
-rw-r--r--works/life/cpp-practicum/Book.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/works/life/cpp-practicum/Book.hpp b/works/life/cpp-practicum/Book.hpp
index 2fb1123..250460f 100644
--- a/works/life/cpp-practicum/Book.hpp
+++ b/works/life/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);