We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27f7243 commit 158492eCopy full SHA for 158492e
2 files changed
taskflow/core/observer.hpp
@@ -482,7 +482,7 @@ enum ObserverType {
482
/**
483
@brief convert an observer type to a human-readable string
484
*/
485
-const char* observer_type_to_string(ObserverType type) {
+inline const char* observer_type_to_string(ObserverType type) {
486
const char* val;
487
switch(type) {
488
case TFPROF: val = "TFProf"; break;
taskflow/core/task.hpp
@@ -28,7 +28,7 @@ enum TaskType {
28
29
@brief convert a task type to a human-readable string
30
31
-const char* task_type_to_string(TaskType type) {
+inline const char* task_type_to_string(TaskType type) {
32
33
34
0 commit comments