Test: PityTest - PityPerspective make model const, lets see...

LIB-11
heck 2 years ago
parent 1a766e6ece
commit 95234b8a2c

@ -5,7 +5,7 @@ namespace pEp {
namespace PityTest11 {
bool PityPerspective::debug_log_enabled = false;
PityPerspective::PityPerspective(PityModel& model) : model{ model }
PityPerspective::PityPerspective(const PityModel& model) : model{ model }
{
pEpLogClass("called");
}

@ -13,10 +13,10 @@ namespace pEp {
class PityPerspective {
public:
// Constructors
PityPerspective(PityModel& model);
PityPerspective(const PityModel& model);
// Lets grant access to the whole model too
PityModel& model;
const PityModel& model;
// Perspective
std::string own_name;

Loading…
Cancel
Save