Fixed compatibility problem with Exceptionhandling

When QtBase is compiled with Exeptions it was incompatible
with the other modules compiled with QT_NO_EXCEPTIONS.
This resulted in a linker error with
ExceptionStore::throwPossibleExceptions, one time returning a const value
and the other time without it

Change-Id: I0e0dff61aceeec3cfde119b00ed15f3aa9f12659
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Holger Ihrig 2012-11-30 14:10:26 +01:00 committed by The Qt Project
parent 1c54dcf3bb
commit dcccf32095

View File

@ -108,7 +108,7 @@ class Q_CORE_EXPORT ExceptionStore
{
public:
ExceptionStore() { }
inline void throwPossibleException() const {}
inline void throwPossibleException() {}
};
} // namespace QtPrivate