From 0c39c9dfd3589369f52d428260dc92d3176e4325 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 31 Dec 2017 11:54:56 +0100 Subject: [PATCH] BFM demod: RDSTMC: use char* instead of std::string for constant array --- plugins/channelrx/demodbfm/rdstmc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodbfm/rdstmc.cpp b/plugins/channelrx/demodbfm/rdstmc.cpp index e6b9a8c22..9fe592060 100644 --- a/plugins/channelrx/demodbfm/rdstmc.cpp +++ b/plugins/channelrx/demodbfm/rdstmc.cpp @@ -27,7 +27,7 @@ * 2nd column: text (CEN-English) * 3rd column: event code (to be transmitted/received) * 4th column: quantifier type */ -static const std::string tmc_events[TMC_EVENTS][4] = { +static const char *tmc_events[TMC_EVENTS][4] = { {"0"," "," "," "}, {"1"," "," "," "}, {"2"," "," "," "},