Chrono: remove unnecessary `typedef rep`

It is already inherited by the base class, and we don't need to import
it explicitly.
This commit is contained in:
Max Kellermann 2018-09-23 15:15:18 +02:00
parent 2f3845ef51
commit 5286477f73
1 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ using FloatDuration = std::chrono::duration<double>;
*/ */
class SongTime : public std::chrono::duration<std::uint32_t, std::milli> { class SongTime : public std::chrono::duration<std::uint32_t, std::milli> {
typedef std::chrono::duration<std::uint32_t, std::milli> Base; typedef std::chrono::duration<std::uint32_t, std::milli> Base;
typedef Base::rep rep;
public: public:
SongTime() = default; SongTime() = default;
@ -121,7 +120,6 @@ public:
*/ */
class SignedSongTime : public std::chrono::duration<std::int32_t, std::milli> { class SignedSongTime : public std::chrono::duration<std::int32_t, std::milli> {
typedef std::chrono::duration<std::int32_t, std::milli> Base; typedef std::chrono::duration<std::int32_t, std::milli> Base;
typedef Base::rep rep;
public: public:
SignedSongTime() = default; SignedSongTime() = default;