diff options
| author | Marvin W <git@larma.de> | 2026-10-03 16:05:51 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2026-10-23 16:59:59 +0200 |
| commit | 2413442905e31f34cb0f77c9167003b3725760fe (patch) | |
| tree | ca9b9a00f8bcc56f120743e4ae2c8d0b509bd12c /xmpp-vala/src/core/module_flag.vala | |
| parent | cd0d992b9b5d3ea29c7d4a3aab76ad53319ea162 (diff) | |
Drop supported for outdated dependency versions
Diffstat (limited to 'xmpp-vala/src/core/module_flag.vala')
| -rw-r--r-- | xmpp-vala/src/core/module_flag.vala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xmpp-vala/src/core/module_flag.vala b/xmpp-vala/src/core/module_flag.vala index 76ae4dc1..95547852 100644 --- a/xmpp-vala/src/core/module_flag.vala +++ b/xmpp-vala/src/core/module_flag.vala @@ -10,12 +10,7 @@ namespace Xmpp { } public T? cast(XmppStreamFlag flag) { -#if VALA_0_56_11 - // We can't typecheck due to compiler bug - return (T) module; -#else return flag.get_type().is_a(typeof(T)) ? (T?) flag : null; -#endif } public bool matches(XmppStreamFlag module) { @@ -39,12 +34,7 @@ namespace Xmpp { } public T? cast(XmppStreamModule module) { -#if VALA_0_56_11 - // We can't typecheck due to compiler bug - return (T) module; -#else return module.get_type().is_a(typeof(T)) ? (T?) module : null; -#endif } public bool matches(XmppStreamModule module) { |
