aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-07 01:11:52 +0100
committerMax Kellermann <max@duempel.org>2014-02-07 01:11:52 +0100
commitb2e3fdef0f142eb0be9f14dccd934b6e41fbde16 (patch)
tree44576ada959a616a9b8f40956e85f2b6f7b0da73 /src/Main.cxx
parentc13810ebaa7075284691eb2add089ba407dfd1ea (diff)
downloadmpd-b2e3fdef0f142eb0be9f14dccd934b6e41fbde16.tar.gz
mpd-b2e3fdef0f142eb0be9f14dccd934b6e41fbde16.tar.xz
mpd-b2e3fdef0f142eb0be9f14dccd934b6e41fbde16.zip
storage/local: hide the class declarations
Hide inside CreateLocalStorage().
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 65993ea8e..8e0b92d9c 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -210,8 +210,8 @@ glue_db_init_and_load(void)
return true;
SimpleDatabase &db = *(SimpleDatabase *)instance->database;
- instance->storage = new LocalStorage(mapper_get_music_directory_utf8(),
- mapper_get_music_directory_fs());
+ instance->storage = CreateLocalStorage(mapper_get_music_directory_utf8(),
+ mapper_get_music_directory_fs());
instance->update = new UpdateService(*instance->event_loop, db,
*instance->storage,
*instance);