From c0dffb7c577b03ff63871b5d13be15f230a010a3 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sat, 3 Oct 2015 22:52:46 +0300 Subject: use strings instead of char* --- libkms++/property.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libkms++/property.h') diff --git a/libkms++/property.h b/libkms++/property.h index 24d2ae9..ffab8d0 100644 --- a/libkms++/property.h +++ b/libkms++/property.h @@ -13,12 +13,13 @@ class Property : public DrmObject public: void print_short() const; - const char *name() const; + const std::string& name() const; private: Property(Card& card, uint32_t id); ~Property(); PropertyPriv* m_priv; + std::string m_name; }; } -- cgit v1.2.3