We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a3669 commit 7acbdc6Copy full SHA for 7acbdc6
parser.cpp
@@ -73,10 +73,7 @@ int main() {
73
entry.country[1] = sEntry[2][1];
74
entry.registry = string(sEntry[3]);
75
76
- if ( seEntries.find(entry) == seEntries.end() )
77
- {
78
- seEntries.insert(entry);
79
- }
+ seEntries.insert(entry);
80
}
81
82
@@ -228,10 +225,7 @@ int main() {
228
225
entry.country[0] = sEntry[2][0];
229
226
230
227
231
- if ( setEntries.find( entry ) == setEntries.end() )
232
233
- setEntries.insert(entry);
234
+ setEntries.insert(entry);
235
236
237
0 commit comments