Improve:UpgradeBase UpgradeTool include cleaner.
This commit is contained in:
parent
cc98adc8fe
commit
5fa12e5021
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
#include "UpgradeBase.h"
|
#include "UpgradeBase.h"
|
||||||
#include "ILog.h"
|
#include "ILog.h"
|
||||||
#include "LinuxApi.h"
|
#include "StatusCode.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -18,14 +18,15 @@
|
||||||
#include "UpgradeBase.h"
|
#include "UpgradeBase.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <memory>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <vector>
|
|
||||||
std::shared_ptr<UpgradeTool> &UpgradeTool::GetInstance(std::shared_ptr<UpgradeTool> *impl)
|
std::shared_ptr<UpgradeTool> &UpgradeTool::GetInstance(std::shared_ptr<UpgradeTool> *impl)
|
||||||
{
|
{
|
||||||
static auto instance = std::make_shared<UpgradeTool>();
|
static auto instance = std::make_shared<UpgradeTool>();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user