using instead of typedef

This commit is contained in:
Marko Budiselic 2015-11-01 12:45:27 +01:00
parent 3753d818e1
commit e4efc799b0

View File

@ -41,8 +41,8 @@ class MemgraphDynamicLib
public:
const static std::string produce_name;
const static std::string destruct_name;
typedef produce_t produce;
typedef destruct_t destruct;
using produce = produce_t;
using destruct = destruct_t;
};
const std::string MemgraphDynamicLib::produce_name = "produce";
const std::string MemgraphDynamicLib::destruct_name = "destruct";