- Use the standard <cassert> header instead of the deprecated C-header <assert.h>

This commit is contained in:
Daniel Belcher 2019-04-05 11:55:02 -07:00
commit f399958c2d
4 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#include <assert.h> #include <cassert>
#include "Header Files/CalcEngine.h" #include "Header Files/CalcEngine.h"
#include "CalculatorResource.h" #include "CalculatorResource.h"

View file

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#include <assert.h> #include <cassert>
#include "CalculatorHistory.h" #include "CalculatorHistory.h"
using namespace std; using namespace std;

View file

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. // Licensed under the MIT License.
#include <assert.h> #include <cassert>
#include <sstream> #include <sstream>
#include "Command.h" #include "Command.h"
#include "UnitConverter.h" #include "UnitConverter.h"

View file

@ -5,7 +5,7 @@
#include <algorithm> #include <algorithm>
#include <array> #include <array>
#include <assert.h> #include <cassert>
#include <intsafe.h> #include <intsafe.h>
#include <list> #include <list>
#include <ppltasks.h> #include <ppltasks.h>