Got rid of warnings

Added a couple of #pragma directives to get rid of warnings from
compilation of ODB API.
This commit is contained in:
Stein Dale 2015-05-06 09:59:24 +02:00
parent 2ddc6677ff
commit 06a6630cc8

View File

@ -17,6 +17,12 @@
//
/////////////////////////////////////////////////////////////////////////////////
// Get rid of warnings from compilation of ODB API
#ifdef _MSC_VER
#pragma warning(disable: 4482)
#pragma warning(disable: 4584)
#endif
#include "RifOdbReader.h"
#include "RigFemPartCollection.h"
@ -28,6 +34,7 @@
#include <iostream>
#include <limits>
std::map<std::string, RigElementType> initFemTypeMap()
{
std::map<std::string, RigElementType> typeMap;