core: remove __cplusplus ifdefs

Since all source files are now C++, this is redundant.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-04 17:55:50 +02:00 committed by bstoeger
parent 9065bf8622
commit 03b910ee7f
55 changed files with 37 additions and 347 deletions

View file

@ -2,8 +2,6 @@
#ifndef NAMECMP_H
#define NAMECMP_H
#ifdef __cplusplus
#include <QXmlStreamReader>
// this is annoying Qt5 / Qt6 incompatibility where we can't compare against string literals anymore
@ -12,5 +10,4 @@ static inline int nameCmp(QXmlStreamReader &r, const char * cs)
return r.name().compare(QLatin1String(cs));
}
#endif
#endif // NAMECMP_H