diff options
Diffstat (limited to 'libstdc++-v3/include/bits/basic_string.h')
-rw-r--r-- | libstdc++-v3/include/bits/basic_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index ea5672325ed..cb317b06781 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -1313,7 +1313,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) */ allocator_type get_allocator() const - { return this->_M_get_allocator(); } + { return allocator_type(this->_M_get_allocator()); } /** * @brief Find position of a C substring. |