Commit 48ac2127 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed unnecessary virtual declarations in classes without inheritance (only...

Fixed unnecessary virtual declarations in classes without inheritance (only detected by the SLC5 compiler).
parent ded702c6
......@@ -45,7 +45,7 @@ public:
tape::tapegateway::FileToMigrateStruct* file,size_t numberOfBlock,
castor::tape::threading::AtomicFlag& errorFlag);
virtual void execute(log::LogContext& lc);
void execute(log::LogContext& lc);
private:
void hasAnotherTaskTailed() const {
//if a task has signaled an error, we stop our job
......
......@@ -77,7 +77,7 @@ public:
* with finish() as the task injection is done from a single thread (the task
* injector)
*/
virtual void push(DiskReadTask *task);
void push(DiskReadTask *task);
/**
* Injects as many "end" tasks as there are threads in the thread pool.
......
......@@ -49,7 +49,7 @@ public:
void startThreads();
void waitThreads();
virtual void push(DiskWriteTask *t);
void push(DiskWriteTask *t);
void finish();
private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment