diff --git a/services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h b/services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h new file mode 100644 index 000000000..e7e7d2cfe --- /dev/null +++ b/services/backup/docker-server/contents/server/src/DatabaseEntities/DatabaseEntitiesTools.h @@ -0,0 +1,19 @@ +#pragma once + +#include "Item.h" + +#include +#include + +namespace comm { +namespace network { +namespace database { + +template std::shared_ptr createItemByType() { + static_assert(std::is_base_of::value, "T must inherit from Item"); + return std::make_shared(); +} + +} // namespace database +} // namespace network +} // namespace comm