Browse Source

AbstractPityUnit - unneccessary functions commented out

master
heck 2 months ago
parent
commit
0091aec6b5
2 changed files with 14 additions and 14 deletions
  1. +12
    -12
      src/AbstractPityUnit.cc
  2. +2
    -2
      src/AbstractPityUnit.hh

+ 12
- 12
src/AbstractPityUnit.cc View File

@ -47,14 +47,14 @@ namespace pEp {
_init();
}
AbstractPityUnit &AbstractPityUnit::operator=(const AbstractPityUnit &rhs)
{
_procUnitNr = rhs._procUnitNr;
_exec_mode = rhs._exec_mode;
_transport = rhs._transport;
_transport_endpoints = rhs._transport_endpoints;
return *this;
}
// AbstractPityUnit &AbstractPityUnit::operator=(const AbstractPityUnit &rhs)
// {
// _procUnitNr = rhs._procUnitNr;
// _exec_mode = rhs._exec_mode;
// _transport = rhs._transport;
// _transport_endpoints = rhs._transport_endpoints;
// return *this;
// }
void AbstractPityUnit::_init()
@ -64,10 +64,10 @@ namespace pEp {
}
// static
void AbstractPityUnit::setGlobalRootDir(const std::string &dir)
{
AbstractPityUnit::_global_root_dir = dir;
}
// void AbstractPityUnit::setGlobalRootDir(const std::string &dir)
// {
// AbstractPityUnit::_global_root_dir = dir;
// }
// static
std::string AbstractPityUnit::getGlobalRootDir()


+ 2
- 2
src/AbstractPityUnit.hh View File

@ -46,12 +46,12 @@ namespace pEp {
explicit AbstractPityUnit(const AbstractPityUnit& rhs, AbstractPityUnit& self);
// copy-assign
AbstractPityUnit& operator=(const AbstractPityUnit& rhs);
// AbstractPityUnit& operator=(const AbstractPityUnit& rhs);
AbstractPityUnit* clone() override = 0;
// Read-Write
static void setGlobalRootDir(const std::string& dir);
// static void setGlobalRootDir(const std::string& dir);
static std::string getGlobalRootDir();
void setExecMode(ExecutionMode execMode);


Loading…
Cancel
Save