Skip to content

Commit bee3acf

Browse files
shbhmexepcarruscag
andauthored
Common: include <cstdint> in CPrimalGrid.hpp and remove duplicate <limits> (#2629)
This header declares PeriodIndexNeighbors as int8_t but relied on indirect includes for the type. Add an explicit #include <cstdint> to ensure portability across compilers and platforms (MSVC/Clang/GCC), and deduplicate a repeated <limits> include. No functional/runtime changes; this is a safe, hygiene-only fix that reduces the risk of build failures in strict toolchains and keeps the header self-contained. - Touches: Common/include/geometry/primal_grid/CPrimalGrid.hpp - Behavior change: none - Risk: low; header-only; does not affect algorithms, IO, or numerics Signed-off-by: Shubham shukla Co-authored-by: Pedro Gomes <[email protected]>
1 parent a720b66 commit bee3acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/include/geometry/primal_grid/CPrimalGrid.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828

2929
#pragma once
3030

31+
#include <cstdint>
3132
#include <iostream>
3233
#include <vector>
3334
#include <limits>
3435
#include <cstdlib>
35-
#include <limits>
3636
#include <memory>
3737

3838
#include "../../option_structure.hpp"

0 commit comments

Comments
 (0)