📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 10c19676 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Avoid generation of empty class name

parent 9ac79b93
Pipeline #130515 passed with stages
in 5 minutes and 15 seconds
......@@ -30,6 +30,7 @@ bool PClassGenerator::saveFileImplDef(const std::string & baseFileName){
std::string baseToUse("");
if(baseFileName == ""){baseToUse = p_className;}
else{baseToUse = baseFileName;}
if(baseToUse == ""){return false;}
std::string includeName(baseToUse + ".h");
std::string sourceName(baseToUse + ".cpp");
if(p_useTemplate){sourceName = baseToUse + "_impl.h";}
......
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