From a24b145bf39d3f0dddcfe172e3ae42b0d3924a03 Mon Sep 17 00:00:00 2001 From: clebig Date: Thu, 3 Dec 2020 22:41:17 +0100 Subject: [PATCH] fix compilation error in std::string name declaration --- host/power_amp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/power_amp.hpp b/host/power_amp.hpp index 7b5c66411..7314a89d4 100644 --- a/host/power_amp.hpp +++ b/host/power_amp.hpp @@ -64,7 +64,7 @@ class power_amp { // Map PA types to string names struct pa_type_map_pair_t { pa_type_t type; - std::string name; + std::string const &name; }; static const pa_type_map_pair_t _pa_type_map[];