/[svn]/linuxsampler/trunk/src/common/global_private.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global_private.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2011 by schoenebeck, Sat Jul 4 12:31:44 2009 UTC revision 2012 by iliev, Fri Oct 23 17:53:17 2009 UTC
# Line 90  inline int ToInt(const std::string& s) t Line 90  inline int ToInt(const std::string& s) t
90      return i;      return i;
91  }  }
92    
93    inline float ToFloat(const std::string& s) throw(LinuxSampler::Exception) {
94        float i;
95        std::istringstream iss(s);
96        if(!(iss >> i)) throw LinuxSampler::Exception("Not a floating-point number");
97        return i;
98    }
99    
100  class Runnable {  class Runnable {
101      public:      public:
102          virtual ~Runnable() { }          virtual ~Runnable() { }

Legend:
Removed from v.2011  
changed lines
  Added in v.2012

  ViewVC Help
Powered by ViewVC