Skip to content

Commit 6357548

Browse files
fix: add <cstdint> to other/**
1 parent 8740df0 commit 6357548

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

others/easter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
#include <cassert> /// for assert
21+
#include <cstdint> /// for integral typedefs
2122
#include <iostream> /// for IO operations
2223

2324
/*

others/kadanes3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include <array> /// for std::array
1818
#include <cassert> /// for assert
1919
#include <climits> /// for INT_MIN value
20+
#include <cstdint> /// for integral typedefs
2021
#include <iostream> /// for IO operations
21-
2222
/**
2323
* @brief Utility function to check the current maximum number
2424
* \param arr input array

others/lru_cache.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
* */
4747

4848
#include <cassert> /// for assert
49+
#include <cstdint> /// for integral typedefs
4950
#include <iostream> /// for IO Operations
5051
#include <list> /// for std::list
5152
#include <unordered_map> /// for std::unordered_map

others/recursive_tree_traversal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
*/
5353

5454
#include <cassert> /// for assert
55+
#include <cstdint> /// for integral typedefs
5556
#include <iostream> /// for I/O operations
5657
#include <vector> /// for vector
5758

0 commit comments

Comments
 (0)