milvus/cpp/src/cache/CpuCacheMgr.h
Xu Peng 372adf6c80 fix(cache): add pragma once in header
Former-commit-id: cb9b838950c536fa4a582c92cf0df634c0780764
2019-05-08 12:13:01 +08:00

29 lines
633 B
C++

////////////////////////////////////////////////////////////////////////////////
// Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
// Unauthorized copying of this file, via any medium is strictly prohibited.
// Proprietary and confidential.
////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "CacheMgr.h"
namespace zilliz {
namespace vecwise {
namespace cache {
class CpuCacheMgr : public CacheMgr {
private:
CpuCacheMgr();
public:
static CacheMgr* GetInstance() {
static CpuCacheMgr s_mgr;
return &s_mgr;
}
};
}
}
}