libslic3r: Fix declaration in FlushVolPredictor.hpp

In file included from src/libslic3r/FlushVolPredictor.cpp:1:
src/libslic3r/FlushVolPredictor.hpp:44:34: error: ‘string’ in namespace ‘std’ does not name a type
   44 |     FlushVolPredictor(const std::string& data_file);
      |                                  ^~~~~~

src/libslic3r/FlushVolPredictor.hpp:49:5: error: ‘uint64_t’ does not name a type
   49 |     uint64_t generate_hash_key(const RGB& from, const RGB& to);
      |     ^~~~~~~~

In file included from src/libslic3r/FlushVolPredictor.cpp:1:
src/libslic3r/FlushVolPredictor.hpp:44:34: error: ‘string’ in namespace ‘std’ does not name a type
   44 |     FlushVolPredictor(const std::string& data_file);
      |                                  ^~~~~~
This commit is contained in:
Bastien Nocera 2024-10-15 21:34:19 +02:00 committed by Lane.Wei
parent 6b025c3fa2
commit 126dfea027
1 changed files with 3 additions and 0 deletions

View File

@ -1,7 +1,10 @@
#ifndef FLUSH_VOL_PREDICTOR_HPP
#define FLUSH_VOL_PREDICTOR_HPP
#include<cstdint>
#include<unordered_map>
#include<string>
#include<vector>
namespace FlushPredict
{