From bb52538ab1a4e976879b76e5f8d0c4e24fad9085 Mon Sep 17 00:00:00 2001 From: Kevin Huck Date: Mon, 27 Jul 2020 14:27:05 -0400 Subject: [PATCH] Fixing implementation of public profile processing function to work with gcc 8 --- src/apex/profiler_listener.cpp | 4 ++++ src/apex/profiler_listener.hpp | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/apex/profiler_listener.cpp b/src/apex/profiler_listener.cpp index a7b12b34..e25a6f59 100644 --- a/src/apex/profiler_listener.cpp +++ b/src/apex/profiler_listener.cpp @@ -1740,6 +1740,10 @@ if (rc != 0) cout << "PAPI error! " << name << ": " << PAPI_strerror(rc) << endl } + void profiler_listener::push_profiler_public(std::shared_ptr &p) { + push_profiler(0, p); + } + } #ifdef APEX_HAVE_HPX diff --git a/src/apex/profiler_listener.hpp b/src/apex/profiler_listener.hpp index 218053b1..3c930808 100644 --- a/src/apex/profiler_listener.hpp +++ b/src/apex/profiler_listener.hpp @@ -231,16 +231,11 @@ class profiler_listener : public event_listener { void process_profiles(void); static void process_profiles_wrapper(void); static void consumer_process_profiles_wrapper(void); - void public_process_profile(std::shared_ptr &p) { - process_profile(p,0); - }; bool concurrent_cleanup(int i); #if APEX_HAVE_PAPI std::vector& get_metric_names(void) { return metric_names; }; #endif - void push_profiler_public(std::shared_ptr &p) { - push_profiler(0, p); - } + void push_profiler_public(std::shared_ptr &p); }; }