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 /src/server/types.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 'src/server/types.hpp')
-rw-r--r-- | src/server/types.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/types.hpp b/src/server/types.hpp index e7dae117..bd211c31 100644 --- a/src/server/types.hpp +++ b/src/server/types.hpp @@ -19,9 +19,9 @@ #include <cstdint> -typedef float Sample; -typedef uint32_t SampleCount; -typedef uint32_t SampleRate; -typedef uint32_t FrameTime; +using Sample = float; +using SampleCount = uint32_t; +using SampleRate = uint32_t; +using FrameTime = uint32_t; #endif // INGEN_ENGINE_TYPES_HPP |