Skip to content

Commit 01fb8cf

Browse files
committed
Replace a couple of uses of <assert.h> with <cassert>.
1 parent 2a8ec74 commit 01fb8cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/swift/Remote/Failure.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "swift/Remote/RemoteAddress.h"
2222

2323
#include "llvm/Support/Compiler.h"
24-
#include <assert.h>
24+
#include <cassert>
2525
#include <string>
2626
#include <cstring>
2727
#include <type_traits>

lib/IRGen/DominancePoint.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#ifndef SWIFT_IRGEN_DOMINANCEPOINT_H
2424
#define SWIFT_IRGEN_DOMINANCEPOINT_H
2525

26-
#include <assert.h>
27-
#include <stdint.h>
26+
#include <cassert>
27+
#include <cstdint>
2828

2929
namespace swift {
3030
namespace irgen {

0 commit comments

Comments
 (0)