Segmentation fault
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user