summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-09-23 15:15:18 +0200
committerMax Kellermann <max@musicpd.org>2018-09-23 15:15:18 +0200
commit5286477f739238917c2e5ed81dd44f28be449f3e (patch)
treeb2f90f962de948fc7335c81b209b7c8e7b83b412
parent2f3845ef51019070bf42a01fd140666fc3bc3609 (diff)
Chrono: remove unnecessary `typedef rep`
It is already inherited by the base class, and we don't need to import it explicitly.
-rw-r--r--src/Chrono.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Chrono.hxx b/src/Chrono.hxx
index 4261dcaaf..a01301e32 100644
--- a/src/Chrono.hxx
+++ b/src/Chrono.hxx
@@ -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;