Skip to content

Commit

Permalink
Fix NOTE about mismatched method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Aug 11, 2023
1 parent ece3fbb commit 825cb14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/map.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Map <- R6Class(
)
)

as.list.Map <- function(map) {
map$values()
as.list.Map <- function(x, ...) {
x$values()
}
length.Map <- function(map) {
map$size()
length.Map <- function(x) {
x$size()
}

0 comments on commit 825cb14

Please sign in to comment.