Changeset 224 in pacpusframework for trunk


Ignore:
Timestamp:
11/22/13 12:17:52 (11 years ago)
Author:
Marek Kurdej
Message:

Silenced MSVC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/PacpusTools/geodesie.h

    r220 r224  
    1515#ifndef GEODESIE_H
    1616#define GEODESIE_H
     17
     18#ifdef _MSC_VER
     19#   pragma warning(push)
     20#   pragma warning(disable: 4251 4275)
     21#endif // _MSC_VER
    1722
    1823#include "PacpusToolsConfig.h"
     
    204209    using ::std::sin;
    205210
    206     x = r * cos(theta);
    207     y = r * sin(theta);
     211    x = _T2(r * cos(theta));
     212    y = _T2(r * sin(theta));
    208213}
    209214
     
    244249} // namespace Geodesie
    245250
     251#ifdef _MSC_VER
     252#   pragma warning(pop)
     253#endif // _MSC_VER
     254
    246255#endif // GEODESIE_H
Note: See TracChangeset for help on using the changeset viewer.