mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 03:34:45 +02:00
Disable the fmt(...) macro by default (#853)
This commit is contained in:
@@ -3859,7 +3859,7 @@ FMT_END_NAMESPACE
|
||||
return S{}; \
|
||||
}()
|
||||
|
||||
#ifndef FMT_NO_FMT_STRING_ALIAS
|
||||
#if defined(FMT_STRING_ALIAS) && FMT_STRING_ALIAS
|
||||
/**
|
||||
\rst
|
||||
Constructs a compile-time format string.
|
||||
|
@@ -5,6 +5,7 @@
|
||||
//
|
||||
// For the license information refer to format.h.
|
||||
|
||||
#define FMT_STRING_ALIAS 1
|
||||
#include "fmt/ostream.h"
|
||||
|
||||
#include <sstream>
|
||||
|
Reference in New Issue
Block a user