Skip to content
Browse files

Scala 2.10 fix

  • Loading branch information...
1 parent 7bf9815 commit 8a93543d5001c41e0b590e2c4955125aeece41cb @sattvik committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/sattvik/baitha/database/Query.scala
View
2 src/main/scala/com/sattvik/baitha/database/Query.scala
@@ -49,7 +49,7 @@ class Query[A] private(
/** Returns a version of the query that retrieves the given columns. */
def withColumns(columns: Traversable[_]): Query[A] = {
- val columnArray = Some(columns map {_.toString} toArray)
+ val columnArray = Some(columns map {a: Any => a.toString} toArray)
new Query(source, columnArray, where, whereArgs, sort)
}

0 comments on commit 8a93543

Please sign in to comment.
Something went wrong with that request. Please try again.