Skip to content

Commit e277289

Browse files
committed
added store erase function and job data pointers by reference
1 parent 48423e1 commit e277289

File tree

3 files changed

+205
-196
lines changed

3 files changed

+205
-196
lines changed

src/DataModelBase/Job.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ namespace ToolFramework{
2020
public:
2121

2222
Job(std::string id); ///< constructor with string to pass identification information for retreival
23-
bool (*func)(void*); ///< function for worker thread to run
24-
void (*fail_func)(void*); ///< function for worker thread to run
23+
bool (*func)(void*&); ///< function for worker thread to run
24+
void (*fail_func)(void*&); ///< function for worker thread to run
2525
void* data; ///< data packet for thread to retreive data
2626
bool m_complete; ///< if the job is complete
2727
bool m_in_progress; ///< if the job is in progress

0 commit comments

Comments
 (0)