mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 09:00:14 -06:00
Move stream operator from AppEnum header
This PR will reduce the compile time of code using AppEnum. * AppEnum: Move QTextStream operator to avoid include of QTextStream * Avoid use of iostream in cafAssert rator to avoid include of QTextStream Include file profiling shows that include of QTextStream is a performance issue. Create a non-templated base class for AppEnum. Implement the QTextStream operator for this interface.
This commit is contained in:
1 parent
d72a45d3fe
commit
ef637e3053
18 files changed
+73
-92
No files matched your search
@@ -45,6 +45,7 @@
|
||||
#include "cafPdmScriptIOMessages.h"
|
||||
|
||||
#include <QIODevice>
|
||||
#include <QTextStream>
|
||||
|
||||
#define CAF_PDM_InitScriptableField( field, keyword, default, uiName, ... ) \
|
||||
{ \
|
||||
|
||||
Reference in new issue
Block a user