aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schulz <[email protected]>2025-06-02 15:51:14 +0200
committerChristian Kandeler <[email protected]>2025-06-02 15:56:56 +0000
commitced38ad153b6ac724652835a08b5077ab939f2aa (patch)
tree0ec5833a152744e48b8bffdd5597b490cb3bbcd0
parenta2c8f21325490ca9ddc127e78e5d01b9520d39fe (diff)
CppEditor: fix build witout testsHEADmaster
Change-Id: Ib07fa27f700c98ad3fb3bc9f9bf5c99a51e816b9 Reviewed-by: Christian Kandeler <[email protected]>
-rw-r--r--src/plugins/cppeditor/cppeditordocument.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppeditordocument.cpp b/src/plugins/cppeditor/cppeditordocument.cpp
index 9f0614e6f29..144e421e3fa 100644
--- a/src/plugins/cppeditor/cppeditordocument.cpp
+++ b/src/plugins/cppeditor/cppeditordocument.cpp
@@ -767,10 +767,14 @@ void CppEditorDocument::Private::updateInfoBarEntryIfVisible()
q->minimizableInfoBars()->updateEntry(createInfoBarEntry(filePath()));
}
+#ifdef WITH_TESTS
+
QList<BlockRange> CppEditorDocument::ifdefedOutBlocks() const
{
return d->m_ifdefedOutBlocks;
}
+#endif
+
} // namespace Internal
} // namespace CppEditor