Update basename.cpp

This commit is contained in:
alexey-milovidov 2019-04-30 19:14:53 +03:00 committed by GitHub
parent 109726d533
commit 39b696f9df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,10 @@
namespace DB
{
/** Extract substring after the last slash or backslash.
* If there is no slashes, return the string unchanged.
* It is used to extract filename from path.
*/
struct ExtractBasename
{
static size_t getReserveLengthForElement() { return 16; } /// Just a guess.