summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-07 14:59:01 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-04-07 15:52:29 (GMT)
commit3568aeef72bec8333650eb2200b12eba8fac1b71 (patch)
treee61eae09c339f25e3d322439c346e2ff91284dd8 /tools/linguist
parentdf555a22e46fc348d9eda156bb80593129cdc28a (diff)
downloadQt-3568aeef72bec8333650eb2200b12eba8fac1b71.zip
Qt-3568aeef72bec8333650eb2200b12eba8fac1b71.tar.gz
Qt-3568aeef72bec8333650eb2200b12eba8fac1b71.tar.bz2
compile with aCC
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/shared/translatormessage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/shared/translatormessage.h b/tools/linguist/shared/translatormessage.h
index 7d31925..9f847b0 100644
--- a/tools/linguist/shared/translatormessage.h
+++ b/tools/linguist/shared/translatormessage.h
@@ -195,12 +195,12 @@ struct TranslatorMessagePtr {
Q_DECLARE_TYPEINFO(TranslatorMessagePtr, Q_MOVABLE_TYPE);
-static inline int qHash(TranslatorMessagePtr tmp)
+inline int qHash(TranslatorMessagePtr tmp)
{
return qHash(*tmp.ptr);
}
-static inline bool operator==(TranslatorMessagePtr tmp1, TranslatorMessagePtr tmp2)
+inline bool operator==(TranslatorMessagePtr tmp1, TranslatorMessagePtr tmp2)
{
return *tmp1.ptr == *tmp2.ptr;
}