Skip to content

Commit

Permalink
refs #6449 getting rid of ISaveable
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 16, 2013
1 parent 717c25e commit 12c9457
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Code/Mantid/Framework/Kernel/test/DiskBufferTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "MantidKernel/DiskBuffer.h"
#include "MantidKernel/FreeBlock.h"
#include "MantidKernel/Saveable.h"
#include "MantidKernel/ISaveable.h"
#include "MantidKernel/CPUTimer.h"
#include "MantidKernel/MultiThreaded.h"
#include "MantidKernel/System.h"
Expand All @@ -26,11 +26,11 @@ using Mantid::Kernel::CPUTimer;

//====================================================================================
/** An ISaveable that fakes writing to a fixed-size file */
class SaveableTesterWithFile : public Saveable
class SaveableTesterWithFile : public ISaveable
{
size_t ID;
public:
SaveableTesterWithFile(size_t id, uint64_t pos, uint64_t size, char ch,bool wasSaved=true) : Saveable(),
SaveableTesterWithFile(size_t id, uint64_t pos, uint64_t size, char ch,bool wasSaved=true) : ISaveable(),
ID(id),m_memory(size),m_ch(ch)
{
// the object knows its place on file
Expand Down Expand Up @@ -669,12 +669,12 @@ class DiskBufferTest : public CxxTest::TestSuite
//====================================================================================
//====================================================================================
/** An Saveable that will fake seeking to disk */
class SaveableTesterWithSeek : public Saveable
class SaveableTesterWithSeek : public ISaveable
{
size_t ID;
size_t m_memory;
public:
SaveableTesterWithSeek(size_t id) : Saveable(),
SaveableTesterWithSeek(size_t id) : ISaveable(),
ID(id)
{
m_memory=1;
Expand Down

0 comments on commit 12c9457

Please sign in to comment.