Commit 5286477f authored by Max Kellermann's avatar Max Kellermann

Chrono: remove unnecessary `typedef rep`

It is already inherited by the base class, and we don't need to import it explicitly.
parent 2f3845ef
......@@ -32,7 +32,6 @@ using FloatDuration = std::chrono::duration<double>;
*/
class SongTime : public std::chrono::duration<std::uint32_t, std::milli> {
typedef std::chrono::duration<std::uint32_t, std::milli> Base;
typedef Base::rep rep;
public:
SongTime() = default;
......@@ -121,7 +120,6 @@ public:
*/
class SignedSongTime : public std::chrono::duration<std::int32_t, std::milli> {
typedef std::chrono::duration<std::int32_t, std::milli> Base;
typedef Base::rep rep;
public:
SignedSongTime() = default;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment