File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
#include < array>
11
11
#include < bitset>
12
12
#include < cassert>
13
+ #include < cctype>
13
14
#include < iomanip>
14
15
#include < iostream>
15
16
#include < list>
@@ -150,15 +151,15 @@ static class SetLimits {
150
151
151
152
auto GetValue = [](std::string &Param, size_t Length) {
152
153
size_t Multiplier = 1 ;
153
- if (std:: tolower (Param[Length - 1 ]) == ' k' ) {
154
+ if (tolower (Param[Length - 1 ]) == ' k' ) {
154
155
Length--;
155
156
Multiplier = 1024 ;
156
157
}
157
- if (std:: tolower (Param[Length - 1 ]) == ' m' ) {
158
+ if (tolower (Param[Length - 1 ]) == ' m' ) {
158
159
Length--;
159
160
Multiplier = 1024 * 1024 ;
160
161
}
161
- if (std:: tolower (Param[Length - 1 ]) == ' g' ) {
162
+ if (tolower (Param[Length - 1 ]) == ' g' ) {
162
163
Length--;
163
164
Multiplier = 1024 * 1024 * 1024 ;
164
165
}
@@ -307,7 +308,6 @@ static class SetLimits {
307
308
} USMSettings;
308
309
} // namespace settings
309
310
310
-
311
311
using namespace settings ;
312
312
313
313
static const char *MemTypeNames[3 ] = {" Host" , " Device" , " Shared" };
You can’t perform that action at this time.
0 commit comments