C++ testing: gate under the experimental feature

This commit is contained in:
Olivier Goffart 2024-05-03 10:49:25 +02:00 committed by GitHub
parent 6bcbc827c4
commit 6c58f4f492
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 4 deletions

View file

@ -7,6 +7,7 @@
#include <string_view>
#ifdef SLINT_FEATURE_TESTING
# ifdef SLINT_FEATURE_EXPERIMENTAL
namespace slint::testing {
/// Init the testing backend.
@ -173,4 +174,5 @@ public:
}
# endif // SLINT_FEATURE_EXPERIMENTAL
#endif // SLINT_FEATURE_TESTING