Ignore:
Timestamp:
11/04/17 17:49:46 (7 years ago)
Author:
tbretz
Message:
Some fixes to make Mars compile at ISDC with an old compiler and different headers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/nova.h

    r18830 r18926  
    33
    44#include <map>
     5#include <cmath>
    56#include <string>
     7#include <limits>
    68#include <algorithm>
    79
     
    4547            };
    4648
    47             for (auto &c: obs)
    48                 c = toupper(c);
     49            for (auto it=obs.begin(); it!=obs.end(); it++)
     50                *it = toupper(*it);
    4951
    5052            const auto it = lut.find(obs);
Note: See TracChangeset for help on using the changeset viewer.