summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-03 18:24:19 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-03 18:24:19 (GMT)
commit4423c010301b8a94addee0ab0b3561023bba7290 (patch)
tree3fd51aeda71d0a4d7eef0414fce760c5ead446c2
parent26fa3d7521457c231f3f63c3e6ebbaff9bb2abbc (diff)
Added note about when to include
-rw-r--r--src/myqhash.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/myqhash.h b/src/myqhash.h
index 13eba09..9156ec2 100644
--- a/src/myqhash.h
+++ b/src/myqhash.h
@@ -1,6 +1,13 @@
#ifndef OPENSCAD_QHASH_H_
#define OPENSCAD_QHASH_H_
+/*!
+ Defines a qHash for std::string.
+
+ Note that this header must be included before Qt headers (at least
+ before qhash.h) to take effect.
+ */
+
#include <qglobal.h>
#include <string>
extern uint qHash(const std::string &);
contact: Jan Huwald // Impressum