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

Commit 437c9203 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Fix setRow

parent ef1d04cd
Pipeline #99558 passed with stages
in 6 minutes and 48 seconds
......@@ -511,7 +511,7 @@ std::string ph5_backendTableSourceSetter(PTable & table){
body += "*/\n";
body += "void " + name + "::set" + firstToUpper(it->getName()) + "(size_t i, const "+type+" * tabVal){\n";
body += "\tsize_t sizeRow("+ph5_getFullAttributeElement(*it)+");\n";
body += "\tmemcpy(p_"+it->getName()+" + i*sizeRow, tabVal, sizeRow);\n";
body += "\tmemcpy(p_"+it->getName()+" + i*sizeRow, tabVal, sizeRow*sizeof("+type+"));\n";
body += "}\n\n";
}else{
body += "/**\t@param i : index of the row to be used\n";
......
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