Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
walkalone20 authored May 1, 2024
1 parent 9844a3b commit 54bb40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/pir/include/core/interface_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class IR_API InterfaceValue {

private:
TypeId type_id_;
std::unique_ptr<void, decltype(&free)> model_{nullptr, &free};
std::unique_ptr<void, decltype(static_cast<void(*)(void*)>(free))> model_{nullptr, static_cast<void(*)(void*)>(free)};
};

template <typename Interface, typename Model>
Expand Down

0 comments on commit 54bb40d

Please sign in to comment.