OvalePool and OvalePoolRefCount share the same API for a reason.
Johnny C. Lam [06-01-14 - 05:30]
OvalePool and OvalePoolRefCount share the same API for a reason.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1503 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvalePaperDoll.lua b/OvalePaperDoll.lua
index 94c941a..c68825a 100644
--- a/OvalePaperDoll.lua
+++ b/OvalePaperDoll.lua
@@ -14,7 +14,7 @@ local OvalePaperDoll = Ovale:NewModule("OvalePaperDoll", "AceEvent-3.0")
Ovale.OvalePaperDoll = OvalePaperDoll
--<private-static-properties>
-local OvalePoolRefCount = Ovale.OvalePoolRefCount
+local OvalePool = Ovale.OvalePoolRefCount
-- Forward declarations for module dependencies.
local OvaleEquipement = nil
@@ -48,7 +48,7 @@ local CR_HASTE_MELEE = CR_HASTE_MELEE
-- Player's class.
local _, self_class = API_UnitClass("player")
-- Snapshot table pool.
-local self_pool = OvalePoolRefCount("OvalePaperDoll_pool")
+local self_pool = OvalePool("OvalePaperDoll_pool")
-- Total number of snapshots taken.
local self_snapshotCount = 0