mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
9065bf8622
commit
03b910ee7f
55 changed files with 37 additions and 347 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue