Skip to content

Commit

Permalink
[Tests/unit/core] : fix build 'test_valuerecorder'
Browse files Browse the repository at this point in the history
  • Loading branch information
msieben committed Aug 12, 2024
1 parent 176406a commit 901e368
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Tests/unit/core/test_valuerecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Core {

const unsigned int BLOCKSIZE = 20;

class WriterClass : public RecorderType<uint32_t, BLOCKSIZE>::Writer
class WriterClass : public ::Thunder::Core::RecorderType<uint32_t, BLOCKSIZE>::Writer
{
public:
WriterClass() = delete;
Expand Down Expand Up @@ -63,7 +63,7 @@ namespace Core {
string _file;
};

class ReaderClass : public RecorderType<uint32_t, BLOCKSIZE>::Reader
class ReaderClass : public ::Thunder::Core::RecorderType<uint32_t, BLOCKSIZE>::Reader
{
public:
ReaderClass() = delete;
Expand All @@ -74,7 +74,7 @@ namespace Core {
{
}

ReaderClass(const ProxyType<WriterClass>& recorder, const uint32_t id = static_cast<uint32_t>(~0))
ReaderClass(const ::Thunder::Core::ProxyType<WriterClass>& recorder, const uint32_t id = static_cast<uint32_t>(~0))
: Reader(recorder->Source())
, _file(recorder->Source())
{
Expand Down Expand Up @@ -122,7 +122,7 @@ namespace Core {
{
string filename = "baseRecorder.txt";

auto obj1 = RecorderType<uint32_t, BLOCKSIZE>::Writer::Create(filename);
auto obj1 = ::Thunder::Core::RecorderType<uint32_t, BLOCKSIZE>::Writer::Create(filename);

obj1->Copy(*(obj1),1);
obj1->Copy(*(obj1),100);
Expand All @@ -132,8 +132,6 @@ namespace Core {
ReaderClass obj2(filename);
obj2.ReaderJob();

ReaderClass obj4(ProxyType<WriterClass>(obj3));

obj1.Release();
}

Expand Down

0 comments on commit 901e368

Please sign in to comment.