File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 38
38
# Generated and working files and directories
39
39
tests /run_tests
40
40
build
41
+ .vscode
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.6 )
1
+ cmake_minimum_required (VERSION 3.20 )
2
2
project (netlicensing )
3
3
4
4
option (BUILD_TESTS "Build unit tests." FALSE )
Original file line number Diff line number Diff line change @@ -268,9 +268,16 @@ namespace netlicensing {
268
268
if (!escape_string (validationParameters.getLicenseeName ()).empty ()) {
269
269
params.push_back (std::make_pair (PROP_LICENSEE_NAME, escape_string (validationParameters.getLicenseeName ())));
270
270
}
271
+ #ifdef __clang__
272
+ #pragma clang diagnostic push
273
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
274
+ #endif
271
275
if (!escape_string (validationParameters.getLicenseeSecret ()).empty ()) {
272
276
params.push_back (std::make_pair (PROP_LICENSEE_SECRET, escape_string (validationParameters.getLicenseeSecret ())));
273
277
}
278
+ #ifdef __clang__
279
+ #pragma clang diagnostic pop
280
+ #endif
274
281
275
282
int paramIt = 0 ;
276
283
for (auto const &ent1 : validationParameters.getParameters ()) {
You can’t perform that action at this time.
0 commit comments