mirror of
https://github.com/love2d/love.git
synced 2026-08-21 05:00:08 +02:00
Rework internal module registration to happen in constructors.
This commit is contained in:
@@ -45,7 +45,8 @@ namespace filesystem
|
||||
|
||||
love::Type Filesystem::type("filesystem", &Module::type);
|
||||
|
||||
Filesystem::Filesystem()
|
||||
Filesystem::Filesystem(const char *name)
|
||||
: Module(M_FILESYSTEM, name)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user