Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed May 8, 2024
2 parents 653d0a1 + 7a8f9a1 commit b62c4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pango.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifdef PANGO
#include <pango/pangocairo.h>
#include <cairo_base.h>
#include <error.h>

#include <stdexcept>
#include <string>
#include <assert.h>

Expand Down Expand Up @@ -50,7 +50,7 @@ namespace ecolab
void throwOnError() const {
cairo_status_t status=cairo_status(cairo);
if (status!=CAIRO_STATUS_SUCCESS)
throw error(cairo_status_to_string(status));
throw std::runtime_error(cairo_status_to_string(status));
}
double scale;
public:
Expand Down

0 comments on commit b62c4d2

Please sign in to comment.