Skip to content

Commit

Permalink
Fix fmtlib update (#401)
Browse files Browse the repository at this point in the history
* Update arg_set.h

* Update spi_factory_test.cc
  • Loading branch information
shaojian-ant authored Oct 14, 2024
1 parent 0d4d40e commit 99a5a91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions yacl/utils/spi/argument/arg_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,4 @@ class SpiArgs : private std::map<std::string, SpiArg> {
std::string ToString() const;
};

inline auto format_as(const SpiArgs &arg) { return arg.ToString(); }

} // namespace yacl
1 change: 1 addition & 0 deletions yacl/utils/spi/spi_factory_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <string>
#include <utility>

#include "fmt/ranges.h"
#include "gtest/gtest.h"

namespace yacl::test {
Expand Down

0 comments on commit 99a5a91

Please sign in to comment.