Skip to content

Commit

Permalink
- Use the standard <cassert> header instead of the deprecated C-heade…
Browse files Browse the repository at this point in the history
…r <assert.h>
  • Loading branch information
Daniel Belcher committed Apr 5, 2019
1 parent 2ef3166 commit f399958
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CalcManager/CEngine/calc.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <assert.h>
#include <cassert>
#include "Header Files/CalcEngine.h"
#include "CalculatorResource.h"

Expand Down
2 changes: 1 addition & 1 deletion src/CalcManager/CalculatorHistory.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <assert.h>
#include <cassert>
#include "CalculatorHistory.h"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/CalcManager/UnitConverter.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

#include <assert.h>
#include <cassert>
#include <sstream>
#include "Command.h"
#include "UnitConverter.h"
Expand Down
2 changes: 1 addition & 1 deletion src/CalcManager/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <algorithm>
#include <array>
#include <assert.h>
#include <cassert>
#include <intsafe.h>
#include <list>
#include <ppltasks.h>
Expand Down

0 comments on commit f399958

Please sign in to comment.