From be7114f4b28662834319e16abea11b3424108b47 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Mon, 2 Dec 2019 10:08:27 +0700 Subject: [PATCH] some str_view vs buffer_view improvements --- headers/enduro2d/high/luasol.hpp | 1 + headers/enduro2d/utils/buffer_view.hpp | 8 -------- headers/enduro2d/utils/filesystem.hpp | 1 + headers/enduro2d/utils/streams.hpp | 5 +++++ sources/enduro2d/high/luasol.cpp | 13 ++++++++++--- sources/enduro2d/utils/filesystem.cpp | 5 +++++ sources/enduro2d/utils/streams.cpp | 14 ++++++++++++++ 7 files changed, 36 insertions(+), 11 deletions(-) diff --git a/headers/enduro2d/high/luasol.hpp b/headers/enduro2d/high/luasol.hpp index f06883b7..a030f176 100644 --- a/headers/enduro2d/high/luasol.hpp +++ b/headers/enduro2d/high/luasol.hpp @@ -24,6 +24,7 @@ namespace e2d template < typename F > decltype(auto) with_state(F&& f) const; + std::optional