Segmentation fault

This commit is contained in:
2023-05-07 18:08:36 +02:00
parent 90ebea4807
commit c1f8e16963
17 changed files with 163 additions and 73 deletions

View File

@@ -4,11 +4,18 @@
// Constructor
Asset::Asset(std::string executablePath)
{
//std::cout << "Construido Asset" << std::endl;
this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/"));
longestName = 0;
verbose = true;
}
// Destructot
Asset::~Asset()
{
//std::cout << "Destruido Asset" << std::endl;
}
// Añade un elemento a la lista
void Asset::add(std::string file, enum assetType type, bool required, bool absolute)
{