diff options
author | Chris Robinson <[email protected]> | 2023-01-13 01:25:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-13 01:25:20 -0800 |
commit | 974d1b9e6d174f1680604b2872911110f6a0e41c (patch) | |
tree | 8dd9517957717b82977e433276a14b9892b3d563 /core/ambdec.cpp | |
parent | 97f2c28ddd79474e163f62d666fc8ce555f31e0f (diff) |
Avoid unnecessary uses of make_optional
Diffstat (limited to 'core/ambdec.cpp')
-rw-r--r-- | core/ambdec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ambdec.cpp b/core/ambdec.cpp index 83c521c0..52a1df05 100644 --- a/core/ambdec.cpp +++ b/core/ambdec.cpp @@ -81,7 +81,7 @@ al::optional<std::string> AmbDecConf::load(const char *fname) noexcept { al::ifstream f{fname}; if(!f.is_open()) - return al::make_optional(std::string("Failed to open file \"")+fname+"\""); + return std::string("Failed to open file \"")+fname+"\""; ReaderScope scope{ReaderScope::Global}; size_t speaker_pos{0}; |