X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fworkqueue.h;h=ed7a5b00d7ddf030abe295497a2ef91d2b2170a6;hb=f8f183f633bed2957d8388ba9594d249d5b0ebb9;hp=5cce2d56cca12c7231bf9787655d6170778db13b;hpb=92e059d8dc78c3f65e29e48e368f6e47ea0ab671;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/workqueue.h b/gold/workqueue.h index 5cce2d56cc..ed7a5b00d7 100644 --- a/gold/workqueue.h +++ b/gold/workqueue.h @@ -17,12 +17,12 @@ #define GOLD_WORKQUEUE_H #include "gold-threads.h" -#include "options.h" #include "fileread.h" namespace gold { +class General_options; class Task; class Workqueue; @@ -286,6 +286,10 @@ class Task // Run the task. virtual void run(Workqueue*) = 0; + + private: + Task(const Task&); + Task& operator=(const Task&); }; // A simple task which waits for a blocker and then runs a function.