aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/typesystem.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-19 16:52:18 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-05-20 14:54:14 +0200
commitca133d553524c02493d61f71be6367504cddde73 (patch)
tree4ee72218a40583e3c5452af4bb6547651b1580ae /sources/shiboken6/ApiExtractor/typesystem.h
parent5580b0a273a2a7967bafbd3a065b43ed0463e214 (diff)
shiboken6: Remove "Invalid" enumeration values that exist only for error checking
Change the lookup functions to return a std::optional, allowing for removing the defaults. Use uniform error handling and messages. Pick-to: 6.1 Change-Id: I49cb414e1044693f75af914d7c3c0dc45140ffc8 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/typesystem.h')
-rw-r--r--sources/shiboken6/ApiExtractor/typesystem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/typesystem.h b/sources/shiboken6/ApiExtractor/typesystem.h
index 303686757..fdddb458b 100644
--- a/sources/shiboken6/ApiExtractor/typesystem.h
+++ b/sources/shiboken6/ApiExtractor/typesystem.h
@@ -607,7 +607,6 @@ class ContainerTypeEntry : public ComplexTypeEntry
Q_GADGET
public:
enum ContainerKind {
- NoContainer,
ListContainer,
StringListContainer,
LinkedListContainer,