mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[upstream_utils] Upgrade to fmt 11.0.1 (#6804)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#endif
|
||||
|
||||
// The fmt library version in the form major * 10000 + minor * 100 + patch.
|
||||
#define FMT_VERSION 110000
|
||||
#define FMT_VERSION 110001
|
||||
|
||||
// Detect compiler versions.
|
||||
#if defined(__clang__) && !defined(__ibmxl__)
|
||||
@@ -262,7 +262,7 @@
|
||||
#ifndef FMT_BEGIN_NAMESPACE
|
||||
# define FMT_BEGIN_NAMESPACE \
|
||||
namespace fmt { \
|
||||
inline namespace v10 {
|
||||
inline namespace v11 {
|
||||
# define FMT_END_NAMESPACE \
|
||||
} \
|
||||
}
|
||||
@@ -1760,7 +1760,7 @@ template <typename Context> class basic_format_arg {
|
||||
* `vis(value)` will be called with the value of type `double`.
|
||||
*/
|
||||
template <typename Visitor>
|
||||
FMT_CONSTEXPR auto visit(Visitor&& vis) -> decltype(vis(0)) {
|
||||
FMT_CONSTEXPR auto visit(Visitor&& vis) const -> decltype(vis(0)) {
|
||||
switch (type_) {
|
||||
case detail::type::none_type:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user