Skip to content

Commit

Permalink
add <cstdint> header includes for int64_t on some compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Mar 3, 2024
1 parent af73a41 commit addce9c
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions include/polyscope/curve_network.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "polyscope/curve_network_scalar_quantity.h"
#include "polyscope/curve_network_vector_quantity.h"

#include <cstdint>
#include <vector>

namespace polyscope {
Expand Down
1 change: 1 addition & 0 deletions include/polyscope/implicit_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "polyscope/structure.h"
#include "polyscope/utilities.h"

#include <cstdint>
#include <string>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions include/polyscope/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <cstdint>
#include <string>


Expand Down
1 change: 1 addition & 0 deletions include/polyscope/render/managed_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <cstdint>
#include <functional>
#include <unordered_map>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions include/polyscope/slice_plane.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "polyscope/utilities.h"
#include "polyscope/widget.h"

#include <cstdint>

namespace polyscope {


Expand Down
1 change: 1 addition & 0 deletions include/polyscope/surface_mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <cstdint>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions include/polyscope/utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <algorithm>
#include <complex>
#include <cstdint>
#include <cstdio>
#include <iomanip>
#include <iostream>
Expand Down
1 change: 1 addition & 0 deletions include/polyscope/volume_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "polyscope/volume_grid_quantity.h"
#include "polyscope/volume_grid_scalar_quantity.h"

#include <cstdint>
#include <vector>

namespace polyscope {
Expand Down
7 changes: 4 additions & 3 deletions include/polyscope/volume_mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

#pragma once

#include <memory>
#include <vector>

#include "polyscope/affine_remapper.h"
#include "polyscope/color_management.h"
#include "polyscope/render/engine.h"
Expand All @@ -17,6 +14,10 @@
#include "polyscope/volume_mesh_scalar_quantity.h"
#include "polyscope/volume_mesh_vector_quantity.h"

#include <cstdint>
#include <memory>
#include <vector>

namespace polyscope {

// Forward declarations for quantities
Expand Down
1 change: 1 addition & 0 deletions include/polyscope/weak_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#pragma once

#include <cstdint>
#include <memory>
#include <stdexcept>

Expand Down
2 changes: 1 addition & 1 deletion src/render/managed_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ template<> ManagedBufferMap<glm::uvec4>& ManagedBufferMap<glm::uve

std::string typeName(ManagedBufferType type) {
switch (type) {
// clang-format off
// clang-format off
case ManagedBufferType::Float : return "Float";
case ManagedBufferType::Double : return "Double";
case ManagedBufferType::Vec2 : return "Vec2";
Expand Down

0 comments on commit addce9c

Please sign in to comment.