From e02bab67ba67dffc133f0583cc0f593709af90c5 Mon Sep 17 00:00:00 2001 From: dteviot Date: Mon, 26 Jan 2015 13:17:16 +1300 Subject: [PATCH] Fixed MSVC warnings. warning C4099: 'ESM::ESMReader' : type name first seen using 'class' now seen using 'struct' warning C4099: 'ESM::CellId' : type name first seen using 'struct' now seen using 'class' --- apps/essimporter/importacdt.hpp | 2 +- apps/essimporter/importdial.hpp | 2 +- apps/essimporter/importinfo.hpp | 2 +- apps/essimporter/importjour.hpp | 2 +- apps/essimporter/importklst.hpp | 2 +- apps/essimporter/importques.hpp | 2 +- components/esm/loadcell.hpp | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/essimporter/importacdt.hpp b/apps/essimporter/importacdt.hpp index 4eb5edb73e..53783a3644 100644 --- a/apps/essimporter/importacdt.hpp +++ b/apps/essimporter/importacdt.hpp @@ -9,7 +9,7 @@ namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/apps/essimporter/importdial.hpp b/apps/essimporter/importdial.hpp index fe4b0c5b4c..9a1e882332 100644 --- a/apps/essimporter/importdial.hpp +++ b/apps/essimporter/importdial.hpp @@ -2,7 +2,7 @@ #define OPENMW_ESSIMPORT_IMPORTDIAL_H namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/apps/essimporter/importinfo.hpp b/apps/essimporter/importinfo.hpp index 08f588f8d8..f4d616786f 100644 --- a/apps/essimporter/importinfo.hpp +++ b/apps/essimporter/importinfo.hpp @@ -5,7 +5,7 @@ namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/apps/essimporter/importjour.hpp b/apps/essimporter/importjour.hpp index fe8775a93b..1b2d094f63 100644 --- a/apps/essimporter/importjour.hpp +++ b/apps/essimporter/importjour.hpp @@ -5,7 +5,7 @@ namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/apps/essimporter/importklst.hpp b/apps/essimporter/importklst.hpp index e333e71509..d07332600f 100644 --- a/apps/essimporter/importklst.hpp +++ b/apps/essimporter/importklst.hpp @@ -6,7 +6,7 @@ namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/apps/essimporter/importques.hpp b/apps/essimporter/importques.hpp index d7e718b928..51fe22434c 100644 --- a/apps/essimporter/importques.hpp +++ b/apps/essimporter/importques.hpp @@ -6,7 +6,7 @@ namespace ESM { - struct ESMReader; + class ESMReader; } namespace ESSImport diff --git a/components/esm/loadcell.hpp b/components/esm/loadcell.hpp index e1a6eee1ab..4c2ac68dcc 100644 --- a/components/esm/loadcell.hpp +++ b/components/esm/loadcell.hpp @@ -18,7 +18,7 @@ namespace ESM { class ESMReader; class ESMWriter; - class CellId; +struct CellId; /* Moved cell reference tracking object. This mainly stores the target cell of the reference, so we can easily know where it has been moved when another