Skip to content

Commit 42d85fe

Browse files
committed
More Windows Fixes
1 parent b401e1d commit 42d85fe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cppconn/sqlstring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
namespace sql
4242
{
43-
class CPPCONN_PUBLIC_FUNC SQLString
43+
class SQLString
4444
{
4545
#ifdef _WIN32
4646
#pragma warning(push)

test/CJUnitTestsPort/simple/BlobTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ void BlobTest::tearDown()
123123

124124
if ( asString )
125125
{
126-
std::string str;
127-
testBlobFile->readFile(str);
126+
sql::SQLString str;
127+
testBlobFile->readFile( const_cast<std::string&>(str.asStdString()) );
128128

129129
pstmt->setString( 1, str );
130130
pstmt->execute();

0 commit comments

Comments
 (0)