diff --git a/dataforge-tables/src/commonMain/kotlin/hep/dataforge/tables/Table.kt b/dataforge-tables/src/commonMain/kotlin/hep/dataforge/tables/Table.kt index 4ff9f3cb..0197955d 100644 --- a/dataforge-tables/src/commonMain/kotlin/hep/dataforge/tables/Table.kt +++ b/dataforge-tables/src/commonMain/kotlin/hep/dataforge/tables/Table.kt @@ -61,5 +61,5 @@ interface Row { fun Row.getValue(column: String, type: KClass): T? = type.cast(getValue(column)) -inline operator fun Row<*>.get(column: String): T? = T::class.cast(getValue(column)) +inline operator fun Row.get(column: String): T? = T::class.cast(getValue(column)) operator fun Row.get(column: ColumnHeader): T? = getValue(column.name, column.type) \ No newline at end of file