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:
Magne Sjaastad
2024-03-25 15:14:04 +01:00
committed by GitHub
parent d72a45d3fe
commit ef637e3053
18 changed files with 73 additions and 92 deletions

View File

@@ -25,6 +25,7 @@
#include <QAction>
#include <QDir>
#include <QFileInfo>
#include <QTextStream>
CAF_CMD_SOURCE_INIT( RicRunCommandFileFeature, "RicRunCommandFileFeature" );