Skip to content
Snippets Groups Projects
Commit cdba3e90 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix class LoaderRaw: virtual destructor, init param

parent 0f85ebc1
No related branches found
No related tags found
2 merge requests!436Release to start wolf public,!433After 2nd RA-L submission
Pipeline #8314 passed
...@@ -37,7 +37,7 @@ class LoaderRaw: public Loader{ ...@@ -37,7 +37,7 @@ class LoaderRaw: public Loader{
void* resource_; void* resource_;
public: public:
LoaderRaw(std::string _file); LoaderRaw(std::string _file);
~LoaderRaw(); virtual ~LoaderRaw();
void load() override; void load() override;
void close() override; void close() override;
}; };
......
...@@ -28,7 +28,7 @@ Loader::Loader(std::string _file) ...@@ -28,7 +28,7 @@ Loader::Loader(std::string _file)
{ {
path_ = _file; path_ = _file;
} }
LoaderRaw::LoaderRaw(std::string _file) : Loader(_file) LoaderRaw::LoaderRaw(std::string _file) : Loader(_file), resource_(nullptr)
{ {
// //
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment