]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
fdr_confirm_compile: typedef -> using
authorJustin Viiret <justin.viiret@intel.com>
Tue, 1 Mar 2016 04:47:41 +0000 (15:47 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Fri, 8 Jul 2016 00:49:20 +0000 (10:49 +1000)
src/fdr/fdr_confirm_compile.cpp

index 6838d56a1849bf3672a743ae72fb19bc410e2eb3..f4ce736689d2d4b591bb6aded4c193b715e4a97a 100644 (file)
@@ -45,10 +45,10 @@ using namespace std;
 
 namespace ue2 {
 
-typedef u8 ConfSplitType;
-typedef pair<BucketIndex, ConfSplitType> BucketSplitPair;
-typedef map<BucketSplitPair, pair<aligned_unique_ptr<FDRConfirm>, size_t>>
-    BC2CONF;
+using ConfSplitType = u8;
+using BucketSplitPair = pair<BucketIndex, ConfSplitType>;
+using BC2CONF = map<BucketSplitPair,
+                    pair<aligned_unique_ptr<FDRConfirm>, size_t>>;
 
 // return the number of bytes beyond a length threshold in all strings in lits
 static