summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-18 18:31:54 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-18 18:34:56 +0200
commit4334fa679ea9717c755d1338035a4864e0226849 (patch)
treef2966f58175c45b305adfe3399e9b0e2ee3f98c7
parentc6d4c18c7ccf047bdb0ca1b65d8f63efa5d8422f (diff)
Don't use std::vector::emplace_back (requires C++11).
Change-Id: Iedb4f0953de0c027b73327b97714e82cba1f00f2
-rw-r--r--connectivity/source/drivers/firebird/FResultSet.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/FResultSet.cxx b/connectivity/source/drivers/firebird/FResultSet.cxx
index 733191340eec..d06b6f5409bf 100644
--- a/connectivity/source/drivers/firebird/FResultSet.cxx
+++ b/connectivity/source/drivers/firebird/FResultSet.cxx
@@ -110,7 +110,8 @@ void OResultSet::ensureDataAvailable() throw (SQLException)
{
m_rowCount++;
- m_sqlData.emplace_back(m_fieldCount);
+ TRow aRow(m_fieldCount);
+ m_sqlData.push_back(aRow);
TRow& rRow = m_sqlData.back();
XSQLVAR* pVar = m_pSqlda->sqlvar;