Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 4930bb1c authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Remove parser copy

parent b388429b
......@@ -12,27 +12,11 @@ ConfigParser::ConfigParser(){
initialisationConfigParser();
}
///Copy constructor of ConfigParser
/** @param other : class to copy
*/
ConfigParser::ConfigParser(const ConfigParser & other){
copyConfigParser(other);
}
///Destructor of ConfigParser
ConfigParser::~ConfigParser(){
}
///Definition of equal operator of ConfigParser
/** @param other : class to copy
* @return copied class
*/
ConfigParser & ConfigParser::operator = (const ConfigParser & other){
copyConfigParser(other);
return *this;
}
///Get the parsed vector of PSource
/** @return parsed vector of PSource
*/
......@@ -40,13 +24,6 @@ const PVecSource & ConfigParser::getVecSource() const{
return p_vecSource;
}
///Copy function of ConfigParser
/** @param other : class to copy
*/
void ConfigParser::copyConfigParser(const ConfigParser & other){
p_vecSource = other.p_vecSource;
}
///Parse the input file
/** @return true on success, false otherwise
*/
......
......@@ -14,14 +14,10 @@
class ConfigParser : public PMultiFileParser{
public:
ConfigParser();
ConfigParser(const ConfigParser & other);
virtual ~ConfigParser();
ConfigParser & operator = (const ConfigParser & other);
const PVecSource & getVecSource() const;
protected:
void copyConfigParser(const ConfigParser & other);
virtual bool parseFile();
virtual void preLoadFile();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment