Browse Source

Fix warning C4138: '*/' found outside of comment on MSVC14

Alexandre Avenel 7 years ago
parent
commit
f80e8b39a1
5 changed files with 6 additions and 6 deletions
  1. 1 1
      code/D3MFImporter.cpp
  2. 2 2
      code/FIReader.cpp
  3. 1 1
      code/MMDImporter.cpp
  4. 1 1
      code/MMDPmxParser.cpp
  5. 1 1
      code/OpenGEXExporter.cpp

+ 1 - 1
code/D3MFImporter.cpp

@@ -344,7 +344,7 @@ bool D3MFImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool
     return false;
     return false;
 }
 }
 
 
-void D3MFImporter::SetupProperties(const Importer */*pImp*/)
+void D3MFImporter::SetupProperties(const Importer * /*pImp*/)
 {
 {
 
 
 }
 }

+ 2 - 2
code/FIReader.cpp

@@ -1790,9 +1790,9 @@ public:
         return nullptr;
         return nullptr;
     }
     }
 
 
-    virtual void registerDecoder(const std::string &/*algorithmUri*/, std::unique_ptr<FIDecoder> /*decoder*/) /*override*/ {}
+    virtual void registerDecoder(const std::string & /*algorithmUri*/, std::unique_ptr<FIDecoder> /*decoder*/) /*override*/ {}
 
 
-    virtual void registerVocabulary(const std::string &/*vocabularyUri*/, const FIVocabulary */*vocabulary*/) /*override*/ {}
+    virtual void registerVocabulary(const std::string & /*vocabularyUri*/, const FIVocabulary * /*vocabulary*/) /*override*/ {}
 
 
 private:
 private:
 
 

+ 1 - 1
code/MMDImporter.cpp

@@ -107,7 +107,7 @@ const aiImporterDesc *MMDImporter::GetInfo() const { return &desc; }
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------
 //  MMD import implementation
 //  MMD import implementation
 void MMDImporter::InternReadFile(const std::string &file, aiScene *pScene,
 void MMDImporter::InternReadFile(const std::string &file, aiScene *pScene,
-                                 IOSystem */*pIOHandler*/) {
+                                 IOSystem * /*pIOHandler*/) {
   // Read file by istream
   // Read file by istream
   std::filebuf fb;
   std::filebuf fb;
   if (!fb.open(file, std::ios::in | std::ios::binary)) {
   if (!fb.open(file, std::ios::in | std::ios::binary)) {

+ 1 - 1
code/MMDPmxParser.cpp

@@ -471,7 +471,7 @@ namespace pmx
 		stream->read((char*) &this->is_near, sizeof(uint8_t));
 		stream->read((char*) &this->is_near, sizeof(uint8_t));
 	}
 	}
 
 
-    void PmxSoftBody::Read(std::istream */*stream*/, PmxSetting */*setting*/)
+    void PmxSoftBody::Read(std::istream * /*stream*/, PmxSetting * /*setting*/)
 	{
 	{
 		// 未実装
 		// 未実装
 		std::cerr << "Not Implemented Exception" << std::endl;
 		std::cerr << "Not Implemented Exception" << std::endl;

+ 1 - 1
code/OpenGEXExporter.cpp

@@ -51,7 +51,7 @@ OpenGEXExporter::OpenGEXExporter() {
 OpenGEXExporter::~OpenGEXExporter() {
 OpenGEXExporter::~OpenGEXExporter() {
 }
 }
 
 
-bool OpenGEXExporter::exportScene( const char */*filename*/, const aiScene* /*pScene*/ ) {
+bool OpenGEXExporter::exportScene( const char * /*filename*/, const aiScene* /*pScene*/ ) {
     return true;
     return true;
 }
 }