We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd545bb commit 6f5f778Copy full SHA for 6f5f778
src/doc/io.dox
@@ -73,10 +73,10 @@ namespace kaldi {
73
\code
74
// we suppose that class_member_ is of type int32.
75
void SomeKaldiClass::Read(std::istream &is, bool binary) {
76
- ReadBasicType(binary, &class_member_);
+ ReadBasicType(is, binary, &class_member_);
77
}
78
- void SomeKaldiClass::Write(std::ostream &is, bool binary) const {
79
- WriteBasicType(binary, class_member_);
+ void SomeKaldiClass::Write(std::ostream &os, bool binary) const {
+ WriteBasicType(os, binary, class_member_);
80
81
\endcode
82
We have assumed that \c class_member_ is of type int32, which is a type of known
0 commit comments