瀏覽代碼

Scope qualifiers matter

Daniele Bartolini 12 年之前
父節點
當前提交
c4f008e78e
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      engine/resource/ArchiveBundle.cpp
  2. 2 2
      engine/resource/FileBundle.cpp

+ 2 - 2
engine/resource/ArchiveBundle.cpp

@@ -136,13 +136,13 @@ private:
 };
 
 //-----------------------------------------------------------------------------
-Bundle* create(Allocator& a, Filesystem& fs)
+Bundle* Bundle::create(Allocator& a, Filesystem& fs)
 {
 	return CE_NEW(a, ArchiveBundle)(fs);
 }
 
 //-----------------------------------------------------------------------------
-void destroy(Allocator& a, Bundle* bundle)
+void Bundle::destroy(Allocator& a, Bundle* bundle)
 {
 	CE_DELETE(a, bundle);
 }

+ 2 - 2
engine/resource/FileBundle.cpp

@@ -91,13 +91,13 @@ private:
 };
 
 //-----------------------------------------------------------------------------
-Bundle* create(Allocator& a, Filesystem& fs)
+Bundle* Bundle::create(Allocator& a, Filesystem& fs)
 {
 	return CE_NEW(a, FileBundle)(fs);
 }
 
 //-----------------------------------------------------------------------------
-void destroy(Allocator& a, Bundle* bundle)
+void Bundle::destroy(Allocator& a, Bundle* bundle)
 {
 	CE_DELETE(a, bundle);
 }