Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1641cf

Browse files
committed
related to BehaviorTree#555
1 parent 0767e55 commit d1641cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/utils/simple_string.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class SimpleString {
125125
std::size_t size;
126126
};
127127

128-
constexpr static std::size_t CAPACITY = std::max(size_t(15), sizeof(String) - 1);
128+
constexpr static std::size_t CAPACITY = 15; // sizeof(String) - 1);
129129
constexpr static std::size_t IS_LONG_BIT = 1 << 7;
130130
constexpr static std::size_t LONG_MASK = (~std::size_t(0)) >> 1;
131131

0 commit comments

Comments
 (0)