X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=bindings%2Fcxx%2Fclasses.cpp;h=f9f79273495026f52c61989b74fca89d1b99e50a;hb=0c96de7223a47a21e509bc2c4560e50651d389e5;hp=8316b9bd1944c7a3c37ab77f111f50f6a154fcf3;hpb=ea7a83a437e60168d396fac20ff1eda04a06d100;p=libsigrok.git diff --git a/bindings/cxx/classes.cpp b/bindings/cxx/classes.cpp index 8316b9bd..f9f79273 100644 --- a/bindings/cxx/classes.cpp +++ b/bindings/cxx/classes.cpp @@ -32,6 +32,8 @@ namespace sigrok { +using namespace std; + /** Helper function to translate C errors to C++ exceptions. */ static void check(int result) {