util.json: Make setmetatable local.

This commit is contained in:
Waqas Hussain 2013-05-06 19:43:59 -04:00
parent eed78bab7e
commit 39229adf0b

View file

@ -13,7 +13,7 @@ local tostring, tonumber = tostring, tonumber;
local pairs, ipairs = pairs, ipairs;
local next = next;
local error = error;
local newproxy, getmetatable = newproxy, getmetatable;
local newproxy, getmetatable, setmetatable = newproxy, getmetatable, setmetatable;
local print = print;
local has_array, array = pcall(require, "util.array");