Diffusion Krita b11e516c1b87

Fix a multiple template instantiation problem on Windows and OSX

Authored by dkazakov on Sep 7 2016, 10:54 AM.

Description

Fix a multiple template instantiation problem on Windows and OSX

Summary:
This patch should fix the crash that happens on some versions of
Windows and OSX. The problem is that the templates are instantated in
different libraries and, therefore, dynamic_cast<> considers them to be
different types of objects

Test Plan: Compile and try to use Brush HUD

Reviewers: rempt, Krita

Reviewed By: rempt, Krita

Differential Revision: https://phabricator.kde.org/D2692

Details

Committed
remptSep 27 2016, 9:52 AM
Reviewer
Krita
Differential Revision
D2692: Fix a multiple template instantiation problem on Windows and OSX
Parents
R37:0c10a7081a20: Update version number
Branches
Unknown
Tags
Unknown