summaryrefslogtreecommitdiffstats
path: root/manager.hpp
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-03-10 14:39:20 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-03-24 20:25:35 +0000
commit4fa924801a0b751d4e59c1d2fd59a8f578590088 (patch)
tree9f561aa737f89cfb1503e7ad2ce2f56e340bf1d5 /manager.hpp
parent76f58348314324aa06aac8b0cfe13c756ed58730 (diff)
downloadphosphor-led-manager-4fa924801a0b751d4e59c1d2fd59a8f578590088.tar.gz
phosphor-led-manager-4fa924801a0b751d4e59c1d2fd59a8f578590088.zip
Use physical LED actions from generated code
Today's code returned a hardcoded string for physical LED action and this patch uses the generated string for the passed in action enum Fixes openbmc/phosphor-led-manager#2 Change-Id: I960e2d4346966caee526e1a0e8713e18d34b428a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'manager.hpp')
-rw-r--r--manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.hpp b/manager.hpp
index 8dbbcd6..4adb229 100644
--- a/manager.hpp
+++ b/manager.hpp
@@ -97,7 +97,7 @@ class Manager
*
* @return string equivalent of the passed in enumeration
*/
- static const char* const getPhysicalAction(Layout::Action action);
+ static std::string getPhysicalAction(Layout::Action action);
/** @brief Chooses appropriate action to be triggered on physical LED
* and calls into function that applies the actual action.
OpenPOWER on IntegriCloud