thegrandpoobah / voronoi

Weighted Voronoi Stippler
http://www.saliences.com/projects/npr/stippling/index.html
MIT License
58 stars 25 forks source link

use std::runtime_error instead of std::exception #16

Closed thegrandpoobah closed 12 years ago

thegrandpoobah commented 12 years ago

Stippler throws std::exception errors. On Visual C++, std::exception takes a string argument in its constructor, but this is non-standard and was modified to work on Linux by removing the usage of e.what(). What should be done from the get go is to use std::runtime_error which has the string argument in the constructor as part of the standard.

thegrandpoobah commented 12 years ago

This is fixed in Release_20120224