Use same type for both input and output conversion operators of archive::class_id_type.

This commit is contained in:
Yuri Kilochek
2017-07-25 17:25:00 +03:00
parent eaf85795f3
commit 791f1bde64

View File

@@ -127,11 +127,11 @@ public:
}
// used for text output
operator int () const {
operator base_type () const {
return t;
}
// used for text input
operator int_least16_t &() {
operator base_type &() {
return t;
}
bool operator==(const class_id_type & rhs) const {