diff options
author | David Robillard <d@drobilla.net> | 2019-12-08 17:12:50 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-08 20:59:06 +0100 |
commit | ecad88d2128f920f5e11cc3ff443d62b225c79d3 (patch) | |
tree | c497cebca3455f4201f38d017db0f1566f8004f7 /ingen/FilePath.hpp | |
parent | 4ca52683ce01f833c552aa62dd80a6a3e48e785c (diff) | |
download | ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.gz ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.tar.bz2 ingen-ecad88d2128f920f5e11cc3ff443d62b225c79d3.zip |
Cleanup: Use "using" instead of "typedef" where appropriate
Diffstat (limited to 'ingen/FilePath.hpp')
-rw-r--r-- | ingen/FilePath.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ingen/FilePath.hpp b/ingen/FilePath.hpp index 376411ec..e4f22b88 100644 --- a/ingen/FilePath.hpp +++ b/ingen/FilePath.hpp @@ -41,14 +41,14 @@ class INGEN_API FilePath { public: #ifdef USE_WINDOWS_FILE_PATHS - typedef wchar_t value_type; + using value_type = wchar_t; static constexpr value_type preferred_separator = L'\\'; #else - typedef char value_type; + using value_type = char; static constexpr value_type preferred_separator = '/'; #endif - typedef std::basic_string<value_type> string_type; + using string_type = std::basic_string<value_type>; FilePath() = default; FilePath(const FilePath&) = default; |