summaryrefslogtreecommitdiff
path: root/modules/core/c++
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/c++')
-rw-r--r--modules/core/c++/error.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/c++/error.hpp b/modules/core/c++/error.hpp
index e1280d8..dab297e 100644
--- a/modules/core/c++/error.hpp
+++ b/modules/core/c++/error.hpp
@@ -170,7 +170,7 @@ public:
{}
template<typename T>
- error make_error(const std::string& generic){
+ error make_error(const std::string_view& generic){
try{
std::string err_str = func_();
error::code id = impl::get_template_id<T>();