Skip to content

Commit

Permalink
Plotter: fix for older GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagui authored and stevenlovegrove committed Jul 13, 2017
1 parent 0576667 commit 1f182d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/Plotter/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@

#include "csv_data_loader.h"

namespace argagg{ namespace convert {

template<>
pangolin::Rangef argagg::convert::arg<pangolin::Rangef>(char const* str)
pangolin::Rangef arg<pangolin::Rangef>(char const* str)
{
std::stringstream ss(str);
pangolin::Rangef r;
ss >> r.min; ss.get(); ss >> r.max;
return r;
}
}}

int main( int argc, char* argv[] )
{
Expand Down

0 comments on commit 1f182d0

Please sign in to comment.