Improve:HuntingUpgrade include cleaner.

This commit is contained in:
Fancy code 2024-06-17 16:14:46 +08:00
parent 6bb8c76751
commit e7c4b2d41f
3 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,8 @@
*/
#include "HuntingUpgradeImpl.h"
#include "ILog.h"
#include "StatusCode.h"
#include "UpgradeBase.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -14,7 +14,10 @@
*/
#include "HuntingUpgradeMakePtr.h"
#include "HuntingUpgradeImpl.h"
#include "IHuntingUpgrade.h"
#include "ILog.h"
#include "StatusCode.h"
#include <memory>
bool CreateHuntingUpgradeModule(void)
{
auto instance = std::make_shared<IHuntingUpgrade>();

View File

@ -14,6 +14,8 @@
*/
#include "IHuntingUpgrade.h"
#include "ILog.h"
#include "StatusCode.h"
#include <memory>
std::shared_ptr<IHuntingUpgrade> &IHuntingUpgrade::GetInstance(std::shared_ptr<IHuntingUpgrade> *impl)
{
static auto instance = std::make_shared<IHuntingUpgrade>();