Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eba1fc0

Browse files
authored
Merge pull request tinyobjloader#251 from murraycu/murrayc-override-keywords
operator(): Add override keywords
2 parents d2cb6d2 + c4d1ec7 commit eba1fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiny_obj_loader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ class MaterialFileReader : public MaterialReader {
444444
virtual bool operator()(const std::string &matId,
445445
std::vector<material_t> *materials,
446446
std::map<std::string, int> *matMap, std::string *warn,
447-
std::string *err);
447+
std::string *err) override;
448448

449449
private:
450450
std::string m_mtlBaseDir;
@@ -461,7 +461,7 @@ class MaterialStreamReader : public MaterialReader {
461461
virtual bool operator()(const std::string &matId,
462462
std::vector<material_t> *materials,
463463
std::map<std::string, int> *matMap, std::string *warn,
464-
std::string *err);
464+
std::string *err) override;
465465

466466
private:
467467
std::istream &m_inStream;

0 commit comments

Comments
 (0)