@@ -259,7 +259,7 @@ SQLRETURN ODBCConnection::GetInfo(SQLUSMALLINT info_type, SQLPOINTER value,
259259 case SQL_SPECIAL_CHARACTERS:
260260 case SQL_XOPEN_CLI_YEAR: {
261261 const auto & info = spi_connection_->GetInfo (info_type);
262- const std::string& info_value = boost ::get<std::string>(info);
262+ const std::string& info_value = std ::get<std::string>(info);
263263 return GetStringAttribute (is_unicode, info_value, true , value, buffer_length,
264264 output_length, GetDiagnostics ());
265265 }
@@ -349,7 +349,7 @@ SQLRETURN ODBCConnection::GetInfo(SQLUSMALLINT info_type, SQLPOINTER value,
349349 case SQL_SQL92_VALUE_EXPRESSIONS:
350350 case SQL_STANDARD_CLI_CONFORMANCE: {
351351 const auto & info = spi_connection_->GetInfo (info_type);
352- uint32_t info_value = boost ::get<uint32_t >(info);
352+ uint32_t info_value = std ::get<uint32_t >(info);
353353 GetAttribute (info_value, value, buffer_length, output_length);
354354 return SQL_SUCCESS;
355355 }
@@ -384,7 +384,7 @@ SQLRETURN ODBCConnection::GetInfo(SQLUSMALLINT info_type, SQLPOINTER value,
384384 case SQL_ODBC_SQL_CONFORMANCE:
385385 case SQL_ODBC_SAG_CLI_CONFORMANCE: {
386386 const auto & info = spi_connection_->GetInfo (info_type);
387- uint16_t info_value = boost ::get<uint16_t >(info);
387+ uint16_t info_value = std ::get<uint16_t >(info);
388388 GetAttribute (info_value, value, buffer_length, output_length);
389389 return SQL_SUCCESS;
390390 }
@@ -395,7 +395,7 @@ SQLRETURN ODBCConnection::GetInfo(SQLUSMALLINT info_type, SQLPOINTER value,
395395 if (!attr) {
396396 throw DriverException (" Optional feature not supported." , " HYC00" );
397397 }
398- const std::string& info_value = boost ::get<std::string>(*attr);
398+ const std::string& info_value = std ::get<std::string>(*attr);
399399 return GetStringAttribute (is_unicode, info_value, true , value, buffer_length,
400400 output_length, GetDiagnostics ());
401401 }
@@ -591,7 +591,7 @@ SQLRETURN ODBCConnection::GetConnectAttr(SQLINTEGER attribute, SQLPOINTER value,
591591 if (!catalog) {
592592 throw DriverException (" Optional feature not supported." , " HYC00" );
593593 }
594- const std::string& info_value = boost ::get<std::string>(*catalog);
594+ const std::string& info_value = std ::get<std::string>(*catalog);
595595 return GetStringAttribute (is_unicode, info_value, true , value, buffer_length,
596596 output_length, GetDiagnostics ());
597597 }
@@ -620,7 +620,7 @@ SQLRETURN ODBCConnection::GetConnectAttr(SQLINTEGER attribute, SQLPOINTER value,
620620 throw DriverException (" Invalid attribute" , " HY092" );
621621 }
622622
623- GetAttribute (static_cast <SQLUINTEGER>(boost ::get<uint32_t >(*spi_attribute)), value,
623+ GetAttribute (static_cast <SQLUINTEGER>(std ::get<uint32_t >(*spi_attribute)), value,
624624 buffer_length, output_length);
625625 return SQL_SUCCESS;
626626}
0 commit comments