Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TH3CHARLie committed Jun 27, 2023
1 parent 42af1ad commit 6c24ce6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/Deserialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ class Deserializer {
void build_reverse_function_mappings(const std::vector<Halide::Internal::Function> &functions);
};


std::string Deserializer::deserialize_string(const flatbuffers::String *str) {
_halide_user_assert(str != nullptr) << "deserializing a null string\n";
return str->str();
Expand Down
2 changes: 1 addition & 1 deletion src/Deserialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "Pipeline.h"

namespace Halide {
Pipeline deserialize_pipeline(const std::string &filename);
Pipeline deserialize_pipeline(const std::string &filename);
} // namespace Halide

#endif
2 changes: 0 additions & 2 deletions tools/build_halide_h.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ void dump_header(const std::string &header) {
if (slash_pos != std::string::npos) {
path = header.substr(0, slash_pos + 1);
}
// we cannot include flatbuffers.h in-place during generation of Halide.h
// so we simply leave with an include here.
dump_header(path + sub_header);
} else {
fputs(line, stdout);
Expand Down

0 comments on commit 6c24ce6

Please sign in to comment.