File tree 3 files changed +3
-11
lines changed
3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ Function: ansi_c_languaget::extensions
40
40
41
41
std::set<std::string> ansi_c_languaget::extensions () const
42
42
{
43
- std::set<std::string> s;
44
- s.insert (" c" );
45
- s.insert (" i" );
46
- return s;
43
+ return { " c" , " i" };
47
44
}
48
45
49
46
/* ******************************************************************\
Original file line number Diff line number Diff line change @@ -34,10 +34,7 @@ Function: java_bytecode_languaget::extensions
34
34
35
35
std::set<std::string> java_bytecode_languaget::extensions () const
36
36
{
37
- std::set<std::string> s;
38
- s.insert (" class" );
39
- s.insert (" jar" );
40
- return s;
37
+ return { " class" , " jar" };
41
38
}
42
39
43
40
/* ******************************************************************\
Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ Function: jsil_languaget::extensions
32
32
33
33
std::set<std::string> jsil_languaget::extensions () const
34
34
{
35
- std::set<std::string> s;
36
- s.insert (" jsil" );
37
- return s;
35
+ return { " jsil" };
38
36
}
39
37
40
38
/* ******************************************************************\
You can’t perform that action at this time.
0 commit comments