[Libreoffice-commits] core.git: connectivity/source

Andrzej J.R. Hunt andrzej at ahunt.org
Thu Jul 18 09:37:25 PDT 2013


 connectivity/source/drivers/firebird/FResultSet.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4334fa679ea9717c755d1338035a4864e0226849
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Thu Jul 18 18:31:54 2013 +0200

    Don't use std::vector::emplace_back (requires C++11).
    
    Change-Id: Iedb4f0953de0c027b73327b97714e82cba1f00f2

diff --git a/connectivity/source/drivers/firebird/FResultSet.cxx b/connectivity/source/drivers/firebird/FResultSet.cxx
index 7331913..d06b6f5 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;


More information about the Libreoffice-commits mailing list