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:
parent
1c54dcf3bb
commit
dcccf32095
@ -108,7 +108,7 @@ class Q_CORE_EXPORT ExceptionStore
|
||||
{
|
||||
public:
|
||||
ExceptionStore() { }
|
||||
inline void throwPossibleException() const {}
|
||||
inline void throwPossibleException() {}
|
||||
};
|
||||
|
||||
} // namespace QtPrivate
|
||||
|
Loading…
Reference in New Issue
Block a user