replace constexpr with const becasuse vs2013 lack of support

This commit is contained in:
gabi
2014-05-13 01:41:04 +03:00
parent 3d5ee3ff56
commit ed6532b9f0
12 changed files with 289 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ class stack_buf
public:
using bufpair_t = std::pair<const char*, std::size_t>;
using iterator = char const*;
static constexpr unsigned short stack_size = STACK_SIZE;
static const unsigned short stack_size = STACK_SIZE;
stack_buf() :_v(), _stack_size(0) {}
~stack_buf() = default;