Skip to content

Commit cb058fa

Browse files
committed
added back defualt constructor for ToolDAQ
1 parent e8a93a3 commit cb058fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Logging/Logging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class Logging: virtual public std::ostream {
122122

123123
//Logging(std::ostream& str, std::string mode, std::string localpath=""):std::ostream(buffer), buffer(new MyStreamBuf(str, mode, localpath)), errbuffer(new MyStreamBuf(str, mode, localpath)){};
124124

125-
Logging(bool interactive=true, bool local=false, std::string localpath="./log", bool split_output_files=false);//:buffer(new MyStreamBuf(interactive, local, localpath, false)),errbuffer(new MyStreamBuf(interactive, local, localpath, true)){};
125+
Logging(bool interactive, bool local=false, std::string localpath="./log", bool split_output_files=false);//:buffer(new MyStreamBuf(interactive, local, localpath, false)),errbuffer(new MyStreamBuf(interactive, local, localpath, true)){};
126126

127127
//:std::ostream(buffer){};
128128
//, buffer(new MyStreamBuf(interactive, local, "", error)){};

src/ToolChain/ToolChain.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class ToolChain{
4848

4949
public:
5050

51+
ToolChain(){};
5152
ToolChain(std::string configfile, int argc=0, char* argv[]=0); ///< Constructor that obtains all of the configuration varaibles from an input file. @param configfile The path and name of the config file to read configuration values from.
5253

5354
/**
@@ -61,7 +62,7 @@ logmode Where log printouts should be forwarded too. "Interactive" = cout, "Remo
6162
@param log_split_files when loggign to local file whether to split standard output and standard error into differnt files
6263
@param in_data_model option to specify an external data modle for use in ToolChain.
6364
*/
64-
ToolChain(int verbose=1, int errorlevel=0, bool log_interactive=true, bool log_local=false, std::string log_local_path="./log", bool log_split_files=false, DataModel* in_data_model=0);
65+
ToolChain(int verbose, int errorlevel=0, bool log_interactive=true, bool log_local=false, std::string log_local_path="./log", bool log_split_files=false, DataModel* in_data_model=0);
6566
//verbosity: true= print out status messages , false= print only error messages;
6667
//errorlevels: 0= do not exit; error 1= exit if unhandeled error ; exit 2= exit on handeled and unhandeled errors;
6768
virtual ~ToolChain();

0 commit comments

Comments
 (0)