Skip to content
Permalink
Browse files

Fix gcc8 "writing to an object of with no trivial copy-assignment"

warning
  • Loading branch information
nyalldawson committed Apr 26, 2018
1 parent efce881 commit cf7cf8201c3cace4caeb525ad9bb064346399eab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/ocispatial/qsql_ocispatial.cpp
@@ -2207,7 +2207,7 @@ bool QOCISpatialCols::execBatch( QOCISpatialResultPrivate *d, QVector<QVariant>
}

case SQLT_FLT:
memcpy( &( ( *list )[r] ), data + r * columns[i].maxLen, sizeof( double ) );
( *list )[r] = *reinterpret_cast<double *>( data + r * columns[i].maxLen );
break;

case SQLT_STR:

0 comments on commit cf7cf82

Please sign in to comment.
You can’t perform that action at this time.