File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838# Generated and working files and directories
3939tests /run_tests
4040build
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 )
22project (netlicensing)
33
44option (BUILD_TESTS "Build unit tests." FALSE )
Original file line number Diff line number Diff line change @@ -268,9 +268,16 @@ namespace netlicensing {
268268 if (!escape_string (validationParameters.getLicenseeName ()).empty ()) {
269269 params.push_back (std::make_pair (PROP_LICENSEE_NAME, escape_string (validationParameters.getLicenseeName ())));
270270 }
271+ #ifdef __clang__
272+ #pragma clang diagnostic push
273+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
274+ #endif
271275 if (!escape_string (validationParameters.getLicenseeSecret ()).empty ()) {
272276 params.push_back (std::make_pair (PROP_LICENSEE_SECRET, escape_string (validationParameters.getLicenseeSecret ())));
273277 }
278+ #ifdef __clang__
279+ #pragma clang diagnostic pop
280+ #endif
274281
275282 int paramIt = 0 ;
276283 for (auto const &ent1 : validationParameters.getParameters ()) {
You can’t perform that action at this time.
0 commit comments