From d42e8ed3fe5ec8338d2da1c3ad41621baf943280 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 8 Sep 2023 04:41:41 -0700 Subject: [PATCH] remove out of line declaration (#1137) Seems to have been an oversight at some point. Signed-off-by: Rosen Penev --- taglib/toolkit/tbytevectorstream.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/taglib/toolkit/tbytevectorstream.cpp b/taglib/toolkit/tbytevectorstream.cpp index 12e28ac2..11def596 100644 --- a/taglib/toolkit/tbytevectorstream.cpp +++ b/taglib/toolkit/tbytevectorstream.cpp @@ -37,17 +37,15 @@ using namespace TagLib; class ByteVectorStream::ByteVectorStreamPrivate { public: - ByteVectorStreamPrivate(const ByteVector &data); + ByteVectorStreamPrivate(const ByteVector &data) : + data(data) + { + } ByteVector data; offset_t position { 0 }; }; -ByteVectorStream::ByteVectorStreamPrivate::ByteVectorStreamPrivate(const ByteVector &data) : - data(data) -{ -} - //////////////////////////////////////////////////////////////////////////////// // public members ////////////////////////////////////////////////////////////////////////////////