fixed set not specifying deep or shallow copy

This commit is contained in:
Max Cahill 2022-03-07 11:59:23 +11:00
parent b6ca4c7740
commit de5c803389

View File

@ -80,7 +80,7 @@ end
--get a copy of the values in the set, as a simple table
function set:values()
return table.copy(self._ordered)
return table.shallow_copy(self._ordered)
end
--get a direct reference to the internal list of values in the set