summaryrefslogtreecommitdiff
path: root/xmake/core/base/dlist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/dlist.lua')
-rw-r--r--xmake/core/base/dlist.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/dlist.lua b/xmake/core/base/dlist.lua
index 0657538e7..5d616c6c8 100644
--- a/xmake/core/base/dlist.lua
+++ b/xmake/core/base/dlist.lua
@@ -206,8 +206,8 @@ function dlist:ritems()
end
-- new dlist
-function dlist:new()
- return self()
+function dlist.new()
+ return dlist()
end
-- return module: dlist