mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
replace constexpr with const becasuse vs2013 lack of support
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
// uses stack_buf as the underlying buffer (upto 192 bytes before using the heap)
|
||||
|
||||
#include <ostream>
|
||||
#include <iomanip>
|
||||
#include "stack_buf.h"
|
||||
|
||||
namespace c11log
|
||||
@@ -13,8 +14,8 @@ namespace details
|
||||
|
||||
class stack_devicebuf :public std::streambuf
|
||||
{
|
||||
public:
|
||||
static constexpr unsigned short stack_size = 192;
|
||||
public:
|
||||
static const unsigned short stack_size = 192;
|
||||
using stackbuf_t = stack_buf<stack_size>;
|
||||
|
||||
stack_devicebuf() = default;
|
||||
|
Reference in New Issue
Block a user