8000 chore: update fmt dependency (should fix compiler warnings) by Tom94 · Pull Request #294 · Tom94/tev · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: update fmt dependency (should fix compiler warnings) #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dependencies/fmt
A55F
Submodule fmt updated 207 files
4 changes: 2 additions & 2 deletions include/tev/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@

// Make std::filesystem::path formattable.
template <> struct fmt::formatter<std::filesystem::path> : fmt::formatter<std::string_view> {
template <typename FormatContext> auto format(const std::filesystem::path& path, FormatContext& ctx) {
template <typename FormatContext> auto format(const std::filesystem::path& path, FormatContext& ctx) const {
return formatter<std::string_view>::format(path.string(), ctx);
}
};

template <typename T, uint32_t N_DIMS> struct fmt::formatter<nanogui::Array<T, N_DIMS>> : fmt::formatter<std::string_view> {
template <typename FormatContext> auto format(const nanogui::Array<T, N_DIMS>& v, FormatContext& ctx) {
template <typename FormatContext> auto format(const nanogui::Array<T, N_DIMS>& v, FormatContext& ctx) const {
std::ostringstream s;
s << v;
return formatter<std::string_view>::format(s.str(), ctx);
Expand Down
0