[Native] Fix code to make it compilable with K2

Check KT-54663 for details
This commit is contained in:
Dmitriy Novozhilov
2022-10-25 13:36:12 +03:00
committed by Space Team
parent 6bc952adff
commit f2cc5310b9
@@ -48,7 +48,7 @@ import org.gradle.kotlin.dsl.getByType
*/
// TODO: Consider splitting out interface and the default implementation. Plugins will inherit from the interface via delegation to the implementation.
// TODO: Consider implementing everything from `NamedDomainObjectContainer` but keyed on a target instead of a name.
open class TargetDomainObjectContainer<T> constructor(
open class TargetDomainObjectContainer<T : Any> constructor(
private val providerFactory: ProviderFactory,
private val platformManager: PlatformManager,
) {
@@ -143,4 +143,4 @@ open class TargetDomainObjectContainer<T> constructor(
*/
val hostTarget: T
get() = hostTarget()
}
}