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:
parent
2f3845ef51
commit
5286477f73
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue