Browse Source

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

LIB-11
heck 3 months ago
parent
commit
95234b8a2c
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      test/pitytest11/src/PityPerspective.cc
  2. +2
    -2
      test/pitytest11/src/PityPerspective.hh

+ 1
- 1
test/pitytest11/src/PityPerspective.cc View File

@ -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");
}


+ 2
- 2
test/pitytest11/src/PityPerspective.hh View File

@ -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