summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-02-17 08:12:37 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-02-17 08:12:37 -0600
commit5b1e5d632b44cd13282ce98d8dd3c11a5c86d598 (patch)
treee68429b3236e71648734ccf63720e4760b37e354 /src
parent1d32d43c85b5059d5f162741afbf3ebfcb3a4ebd (diff)
Fixed missingf cstdint
Diffstat (limited to 'src')
-rw-r--r--src/utils/Decompressor.h1
-rw-r--r--src/utils/TorchUtils.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/Decompressor.h b/src/utils/Decompressor.h
index 5551b57..5d321e5 100644
--- a/src/utils/Decompressor.h
+++ b/src/utils/Decompressor.h
@@ -5,6 +5,7 @@
#include <unordered_map>
#include <yaml-cpp/yaml.h>
#include <optional>
+#include <cstdint>
enum class CompressionType {
MIO0,
diff --git a/src/utils/TorchUtils.h b/src/utils/TorchUtils.h
index 6c8b6c4..36ce46d 100644
--- a/src/utils/TorchUtils.h
+++ b/src/utils/TorchUtils.h
@@ -5,6 +5,7 @@
#include <sstream>
#include <iomanip>
#include <algorithm>
+#include <cstdint>
namespace Torch {
template< typename T >