Base: UnitsApi: remove nowhere called init()
This commit is contained in:
@@ -37,11 +37,6 @@ using Base::UnitsApi;
|
||||
using Base::UnitsSchema;
|
||||
using Base::UnitsSchemas;
|
||||
|
||||
void UnitsApi::init()
|
||||
{
|
||||
schemas = std::make_unique<UnitsSchemas>(UnitsSchemasData::unitSchemasDataPack);
|
||||
}
|
||||
|
||||
std::vector<std::string> UnitsApi::getDescriptions()
|
||||
{
|
||||
return schemas->descriptions();
|
||||
|
||||
@@ -41,7 +41,6 @@ namespace Base
|
||||
class BaseExport UnitsApi
|
||||
{
|
||||
public:
|
||||
static void init();
|
||||
static std::unique_ptr<UnitsSchema> createSchema(std::size_t num);
|
||||
static void setSchema(const std::string& name);
|
||||
static void setSchema(std::size_t num);
|
||||
|
||||
Reference in New Issue
Block a user