diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-18 21:31:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-18 21:31:42 +0300 |
commit | 575a77de45de54185c1aea2dc4e306d3e0dda7b8 (patch) | |
tree | e5fd1b327e04c8f078cf1bdbb277f1f11fb4711f /plugins | |
parent | 195d91f3a84e9392567674d1a7eb555b6d888f22 (diff) |
compilation fix
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/BasicHistory/src/codecvt_CodePage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/BasicHistory/src/codecvt_CodePage.h b/plugins/BasicHistory/src/codecvt_CodePage.h index a95fd783ed..007af11434 100644 --- a/plugins/BasicHistory/src/codecvt_CodePage.h +++ b/plugins/BasicHistory/src/codecvt_CodePage.h @@ -76,22 +76,22 @@ protected: return (_Mybase::ok);
}
- virtual int do_length(const mbstate_t&, const _Byte *, const _Byte *, size_t _Count) const _THROW0()
+ virtual int do_length(const mbstate_t&, const _Byte *, const _Byte *, size_t _Count) const throw()
{ // return min(_Count, converted length of bytes [_First1, _Last1))
return (int)_Count; // not implemented
}
- virtual bool do_always_noconv() const _THROW0()
+ virtual bool do_always_noconv() const throw()
{ // return true if conversions never change input
return (false);
}
- virtual int do_max_length() const _THROW0()
+ virtual int do_max_length() const throw()
{ // return maximum length required for a conversion
return 6;
}
- virtual int do_encoding() const _THROW0()
+ virtual int do_encoding() const throw()
{ // return length of code sequence (from codecvt)
return 0; // -1 => state dependent, 0 => varying length
}
|