diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-18 18:31:54 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-07-18 18:34:56 +0200 |
commit | 4334fa679ea9717c755d1338035a4864e0226849 (patch) | |
tree | f2966f58175c45b305adfe3399e9b0e2ee3f98c7 | |
parent | c6d4c18c7ccf047bdb0ca1b65d8f63efa5d8422f (diff) |
Don't use std::vector::emplace_back (requires C++11).
Change-Id: Iedb4f0953de0c027b73327b97714e82cba1f00f2
-rw-r--r-- | connectivity/source/drivers/firebird/FResultSet.cxx | 3 |
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; |