Remove unnecessary typedefs or replace with using.

This commit is contained in:
Jim Evins
2017-12-30 18:42:26 -05:00
parent b11754462f
commit c7a6ed4917
6 changed files with 17 additions and 13 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ namespace glbarcode
/**
* Barcode creation function signature.
*/
typedef Barcode* (*BarcodeCreateFct)();
using BarcodeCreateFct = Barcode* (*)();
private:
@@ -113,7 +113,7 @@ namespace glbarcode
/**
* Map barcode type strings to creation functions.
*/
typedef std::map<std::string,BarcodeCreateFct> BarcodeTypeMap;
using BarcodeTypeMap = std::map<std::string,BarcodeCreateFct>;
static BarcodeTypeMap mBarcodeTypeMap;