summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlextension_p.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-01 22:07:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-01 22:07:23 +0900
commit7c9a149f4ce92375b22e16ccfe0b348fc8547f20 (patch)
tree8898a5439d67dc78f6f4ea3379dd96cee9466b19 /src/sql/qsqlextension_p.h
parent7f4d09f20062c6b26342f91d5cec5d859c58d662 (diff)
downloadtqt3-7c9a149f4ce92375b22e16ccfe0b348fc8547f20.tar.gz
tqt3-7c9a149f4ce92375b22e16ccfe0b348fc8547f20.zip
Fixed FTBFS caused by name conflict with new postgres server dev 11 package.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/qsqlextension_p.h')
-rw-r--r--src/sql/qsqlextension_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sql/qsqlextension_p.h b/src/sql/qsqlextension_p.h
index 5ca2232d5..1e04578b6 100644
--- a/src/sql/qsqlextension_p.h
+++ b/src/sql/qsqlextension_p.h
@@ -71,11 +71,11 @@
#define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN
#endif
-struct Param {
- Param( const TQVariant& v = TQVariant(), TQSql::ParameterType t = TQSql::In ): value( v ), typ( t ) {}
+struct TQtParam {
+ TQtParam( const TQVariant& v = TQVariant(), TQSql::ParameterType t = TQSql::In ): value( v ), typ( t ) {}
TQVariant value;
TQSql::ParameterType typ;
- Q_DUMMY_COMPARISON_OPERATOR(Param)
+ Q_DUMMY_COMPARISON_OPERATOR(TQtParam)
};
struct Holder {
@@ -114,7 +114,7 @@ public:
int bindCount;
TQMap<int, TQString> index;
- typedef TQMap<TQString, Param> ValueMap;
+ typedef TQMap<TQString, TQtParam> ValueMap;
ValueMap values;
// convenience container for TQSqlQuery