mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
inline HexString<T> QChar operator
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
ebc063e427
commit
7377bfa065
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ template <typename T>
|
|||
: val(t)
|
||||
{}
|
||||
|
||||
operator const QChar() const {
|
||||
inline operator const QChar() const {
|
||||
const char *c = reinterpret_cast<const char *>(&val);
|
||||
return QChar(qChecksum(c ,sizeof(T)));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue