diff options
-rw-r--r-- | facetracknoir/main.cpp | 2 | ||||
-rw-r--r-- | facetracknoir/process_detector.cpp | 2 | ||||
-rw-r--r-- | facetracknoir/process_detector.h | 2 | ||||
-rw-r--r-- | opentrack/thread.hpp | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp index fea76b30..c92f6980 100644 --- a/facetracknoir/main.cpp +++ b/facetracknoir/main.cpp @@ -30,8 +30,8 @@ static void add_program_library_path() } } } -#endif } +#endif int main(int argc, char** argv) { diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp index 902ab2ec..237d350d 100644 --- a/facetracknoir/process_detector.cpp +++ b/facetracknoir/process_detector.cpp @@ -61,7 +61,7 @@ void BrowseButton::browse() twi->setText(filename); } -process_detector::add_row(QString exe_name, QString profile) +int process_detector::add_row(QString exe_name, QString profile) { int i = ui.tableWidget->rowCount(); ui.tableWidget->insertRow(i); diff --git a/facetracknoir/process_detector.h b/facetracknoir/process_detector.h index 2333ecc6..3cebd422 100644 --- a/facetracknoir/process_detector.h +++ b/facetracknoir/process_detector.h @@ -88,6 +88,8 @@ public: { return false; } + bool should_stop() { return false; } + }; #endif diff --git a/opentrack/thread.hpp b/opentrack/thread.hpp index f4e15c4e..b1db9158 100644 --- a/opentrack/thread.hpp +++ b/opentrack/thread.hpp @@ -31,7 +31,7 @@ private: #else class Affinity { public: - Affinity() {} + Affinity(int core = CORE_WORK) {} ~Affinity() {} -} +}; #endif |