Modernization + AZStd::function compare fix. (#3680)
* Modernization + small fix. Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc. Replaced a `bind` or two, use `using` in a few places as well. Fix nullptr comparison of AZStd::function. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Apply review-based changes Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -123,10 +123,10 @@ namespace AZ
|
||||
std::vector<char*> tokens;
|
||||
[[maybe_unused]] char* next_token = nullptr;
|
||||
char* tok = azstrtok(cmdLine, 0, " ", &next_token);
|
||||
while (tok != NULL)
|
||||
while (tok != nullptr)
|
||||
{
|
||||
tokens.push_back(tok);
|
||||
tok = azstrtok(NULL, 0, " ", &next_token);
|
||||
tok = azstrtok(nullptr, 0, " ", &next_token);
|
||||
}
|
||||
size = (int)tokens.size();
|
||||
char** token_array = new char*[size];
|
||||
|
||||
Reference in New Issue
Block a user