mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
Remove unnecessary MSVC pragma disabling C4312 from ODBC/DB2
This warning is not given any more, so there is no need to suppress it.
This commit is contained in:
@@ -16,14 +16,6 @@
|
||||
#include <ctime>
|
||||
#include <sstream>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// disables the warning about converting int to void*. This is a 64 bit compatibility
|
||||
// warning, but odbc requires the value to be converted on this line
|
||||
// SQLSetStmtAttr(statement_.hstmt_, SQL_ATTR_PARAMSET_SIZE, (SQLPOINTER)arraySize, 0);
|
||||
#pragma warning(disable:4312)
|
||||
#endif
|
||||
|
||||
|
||||
using namespace soci;
|
||||
using namespace soci::details;
|
||||
|
||||
|
||||
@@ -18,13 +18,6 @@
|
||||
#include <ctime>
|
||||
#include <sstream>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// disables the warning about converting int to void*. This is a 64 bit compatibility
|
||||
// warning, but odbc requires the value to be converted on this line
|
||||
// SQLSetStmtAttr(statement_.hstmt_, SQL_ATTR_PARAMSET_SIZE, (SQLPOINTER)arraySize, 0);
|
||||
#pragma warning(disable:4312)
|
||||
#endif
|
||||
|
||||
using namespace soci;
|
||||
using namespace soci::details;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user