File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 5
5
- Fix documentation (see PR #597 )
6
6
- Fix buffer underflow in getBashOutput (see PR #596 )
7
7
8
+ ### Updates
9
+ - Added new function ` Helpers::reserveCustomFormatSpecifier ` (see #606 )
10
+
8
11
## [ 9.95.3] - 13-10-2017
9
12
### Fixes
10
13
- Multithreading issue fixed raised from last release at log builder
Original file line number Diff line number Diff line change @@ -3795,6 +3795,11 @@ class Helpers : base::StaticClass {
3795
3795
static inline const el::base::utils::CommandLineArgs* commandLineArgs (void ) {
3796
3796
return ELPP->commandLineArgs ();
3797
3797
}
3798
+ // / @brief Reserve space for custom format specifiers for performance
3799
+ // / @see std::vector::reserve
3800
+ static inline void reserveCustomFormatSpecifiers (std::size_t size) {
3801
+ ELPP->m_customFormatSpecifiers .reserve (size);
3802
+ }
3798
3803
// / @brief Installs user defined format specifier and handler
3799
3804
static inline void installCustomFormatSpecifier (const CustomFormatSpecifier& customFormatSpecifier) {
3800
3805
ELPP->installCustomFormatSpecifier (customFormatSpecifier);
You can’t perform that action at this time.
0 commit comments