From fd9080c0778c5145842bbcd5d0ab14faca3956d0 Mon Sep 17 00:00:00 2001 From: Timo Eskola Date: Mon, 3 Sep 2018 12:26:02 +0300 Subject: Expose std::string in cDuplicateRecording. --- recording.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.h') diff --git a/recording.h b/recording.h index 1d2ffb2..37ec660 100644 --- a/recording.h +++ b/recording.h @@ -35,8 +35,8 @@ public: bool Checked() { return checked; } cVisibility Visibility() { return visibility; } std::string FileName(void) { return fileName; } - void SetText(const char *t) { text = std::string(t); } - const char *Text(void) { return text.c_str(); } + void SetText(std::string t) { text = t; } + std::string Text(void) { return text; } cList *Duplicates(void) { return duplicates; } }; -- cgit v1.2.3