Aggiustato warning sulla throw

This commit is contained in:
2026-06-08 11:35:44 +02:00
parent 10d7c806ec
commit f15e13475d
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ Gamba::Gamba(rb::Vector3 pos, unsigned int* dataPos, std::string cosciaData, std
}
catch(char* e){
throw sprintf("Gamba ERROR : %s\n",e);
throw "Gamba ERROR : "+ std::string(e) +" \n" ;
}
}