diff --git a/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h b/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h index fa7585be4..3d2fa0496 100644 --- a/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h +++ b/Data/ODBC/include/Poco/Data/ODBC/Diagnostics.h @@ -242,10 +242,12 @@ private: // explicit instantiation definition +#ifndef POCO_DOC template class Diagnostics; template class Diagnostics; template class Diagnostics; template class Diagnostics; +#endif using EnvironmentDiagnostics = Diagnostics; diff --git a/Data/ODBC/include/Poco/Data/ODBC/Error.h b/Data/ODBC/include/Poco/Data/ODBC/Error.h index a0f91e046..2be1f104e 100644 --- a/Data/ODBC/include/Poco/Data/ODBC/Error.h +++ b/Data/ODBC/include/Poco/Data/ODBC/Error.h @@ -125,10 +125,12 @@ private: // explicit instantiation definition +#ifndef POCO_DOC template class Error; template class Error; template class Error; template class Error; +#endif using EnvironmentError = Error; diff --git a/Data/ODBC/include/Poco/Data/ODBC/ODBCException.h b/Data/ODBC/include/Poco/Data/ODBC/ODBCException.h index 1e909b1be..cbc9ff5bb 100644 --- a/Data/ODBC/include/Poco/Data/ODBC/ODBCException.h +++ b/Data/ODBC/include/Poco/Data/ODBC/ODBCException.h @@ -139,10 +139,12 @@ private: // explicit instantiation definition +#ifndef POCO_DOC template class HandleException; template class HandleException; template class HandleException; template class HandleException; +#endif using EnvironmentException = HandleException; diff --git a/Data/include/Poco/Data/SimpleRowFormatter.h b/Data/include/Poco/Data/SimpleRowFormatter.h index c8417b3a7..c9a2cfa4c 100644 --- a/Data/include/Poco/Data/SimpleRowFormatter.h +++ b/Data/include/Poco/Data/SimpleRowFormatter.h @@ -107,6 +107,7 @@ inline std::streamsize SimpleRowFormatter::getSpacing() const } } // namespace Poco::Data +#ifndef POCO_DOC namespace std { template<> @@ -118,6 +119,7 @@ namespace std s1.swap(s2); } } +#endif #endif // Data_SimpleRowFormatter_INCLUDED