-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(templates): Corrected explicit template instantiations to avoid m…
…ultiple instances.
- Loading branch information
Showing
22 changed files
with
283 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// Diagnostics.cpp | ||
// | ||
// Library: Data/ODBC | ||
// Package: ODBC | ||
// Module: Diagnostics | ||
// | ||
// Copyright (c) 2025, Applied Informatics Software Engineering GmbH. | ||
// and Contributors. | ||
// | ||
// SPDX-License-Identifier: BSL-1.0 | ||
// | ||
|
||
|
||
#include "Poco/Data/ODBC/Diagnostics.h" | ||
|
||
|
||
namespace Poco { | ||
namespace Data { | ||
namespace ODBC { | ||
|
||
// explicit instantiation definition | ||
#ifndef POCO_DOC | ||
|
||
#if defined(POCO_OS_FAMILY_WINDOWS) | ||
template class ODBC_API Diagnostics<SQLHENV, SQL_HANDLE_ENV>; | ||
template class ODBC_API Diagnostics<SQLHDBC, SQL_HANDLE_DBC>; | ||
template class ODBC_API Diagnostics<SQLHSTMT, SQL_HANDLE_STMT>; | ||
template class ODBC_API Diagnostics<SQLHDESC, SQL_HANDLE_DESC>; | ||
#else | ||
template class Diagnostics<SQLHENV, SQL_HANDLE_ENV>; | ||
template class Diagnostics<SQLHDBC, SQL_HANDLE_DBC>; | ||
template class Diagnostics<SQLHSTMT, SQL_HANDLE_STMT>; | ||
template class Diagnostics<SQLHDESC, SQL_HANDLE_DESC>; | ||
#endif | ||
|
||
#endif | ||
|
||
|
||
} } } // namespace Poco::Data::ODBC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// Error.cpp | ||
// | ||
// Library: Data/ODBC | ||
// Package: ODBC | ||
// Module: Error | ||
// | ||
// Copyright (c) 2025, Applied Informatics Software Engineering GmbH. | ||
// and Contributors. | ||
// | ||
// SPDX-License-Identifier: BSL-1.0 | ||
// | ||
|
||
|
||
#include "Poco/Data/ODBC/Error.h" | ||
|
||
|
||
namespace Poco { | ||
namespace Data { | ||
namespace ODBC { | ||
|
||
// explicit instantiation definition | ||
#ifndef POCO_DOC | ||
|
||
#if defined(POCO_OS_FAMILY_WINDOWS) | ||
template class ODBC_API Error<SQLHENV, SQL_HANDLE_ENV>; | ||
template class ODBC_API Error<SQLHDBC, SQL_HANDLE_DBC>; | ||
template class ODBC_API Error<SQLHSTMT, SQL_HANDLE_STMT>; | ||
template class ODBC_API Error<SQLHDESC, SQL_HANDLE_DESC>; | ||
#else | ||
template class Error<SQLHENV, SQL_HANDLE_ENV>; | ||
template class Error<SQLHDBC, SQL_HANDLE_DBC>; | ||
template class Error<SQLHSTMT, SQL_HANDLE_STMT>; | ||
template class Error<SQLHDESC, SQL_HANDLE_DESC>; | ||
#endif | ||
|
||
#endif | ||
|
||
|
||
} } } // namespace Poco::Data::ODBC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.