This commit is contained in:
@ -23,13 +23,11 @@
|
||||
#define REPERTORY_INCLUDE_DB_META_DB_HPP_
|
||||
|
||||
#include "db/i_meta_db.hpp"
|
||||
#include "db/sqlite_meta_db.hpp"
|
||||
|
||||
namespace repertory {
|
||||
[[nodiscard]] inline auto create_meta_db(const app_config &cfg)
|
||||
-> std::unique_ptr<i_meta_db> {
|
||||
return std::make_unique<sqlite_meta_db>(cfg);
|
||||
}
|
||||
class app_config;
|
||||
|
||||
auto create_meta_db(const app_config &cfg) -> std::unique_ptr<i_meta_db>;
|
||||
} // namespace repertory
|
||||
|
||||
#endif // REPERTORY_INCLUDE_DB_META_DB_HPP_
|
||||
|
Reference in New Issue
Block a user