Reduce database include dependencies

This commit is contained in:
emeric
2018-05-16 13:47:00 +02:00
parent 7e6bf57e75
commit 9a44fb838d
43 changed files with 179 additions and 135 deletions
+2 -4
View File
@@ -17,8 +17,7 @@
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DATABASE_USER_HPP
#define DATABASE_USER_HPP
#pragma once
#include <vector>
@@ -28,7 +27,7 @@
namespace Database {
class User;
typedef Wt::Auth::Dbo::AuthInfo<User> AuthInfo;
using AuthInfo = Wt::Auth::Dbo::AuthInfo<User>;
class Playlist;
@@ -109,4 +108,3 @@ class User : public Wt::Dbo::Dbo<User>
} // namespace Databas'
#endif