Skip to content

Commit a77b278

Browse files
committed
cwe-mapper: use using instead of typedef
1 parent 92e9707 commit a77b278

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/cwe-mapper.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2013 Red Hat, Inc.
2+
* Copyright (C) 2013-2023 Red Hat, Inc.
33
*
44
* This file is part of csdiff.
55
*
@@ -26,8 +26,8 @@
2626
// /////////////////////////////////////////////////////////////////////////////
2727
// implementation of CweMap
2828
struct CweMap::Private {
29-
typedef std::map<std::string, int> TNumByEvent;
30-
typedef std::map<std::string, TNumByEvent> TMapByChk;
29+
using TNumByEvent = std::map<std::string, int>;
30+
using TMapByChk = std::map<std::string, TNumByEvent>;
3131

3232
TMapByChk mapByChk;
3333
ImpliedAttrDigger digger;

0 commit comments

Comments
 (0)