diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-05 16:04:35 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-05 16:04:35 +0000 |
| commit | 349536d49558ec5841e799eb33a4cbbb3fa9722d (patch) | |
| tree | 7e6a4cb6e7ecff3a3d81e99a8c3c3a246839a195 /src/uri.h | |
| parent | CMake: Supress status messages for install target on Windows (considerably sp... (diff) | |
| download | inkscape-349536d49558ec5841e799eb33a4cbbb3fa9722d.tar.gz inkscape-349536d49558ec5841e799eb33a4cbbb3fa9722d.zip | |
Fix C++11 errors and warnings with g++-7
Fixed bugs:
- https://launchpad.net/bugs/1660992
(bzr r15477)
Diffstat (limited to 'src/uri.h')
| -rw-r--r-- | src/uri.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -13,7 +13,6 @@ #include <exception> #include <libxml/uri.h> -#include "bad-uri-exception.h" #include <string> namespace Inkscape { @@ -37,7 +36,7 @@ public: * * @param preformed Properly quoted C-style string to be represented. */ - explicit URI(char const *preformed) throw(BadURIException); + explicit URI(char const *preformed); /** * Destructor. @@ -98,15 +97,15 @@ public: const char *getOpaque() const { return _impl->getOpaque(); } - static URI fromUtf8( char const* path ) throw (BadURIException); + static URI fromUtf8( char const* path ); - static URI from_native_filename(char const *path) throw(BadURIException); + static URI from_native_filename(char const *path); - static char *to_native_filename(char const* uri) throw(BadURIException); + static char *to_native_filename(char const* uri); const std::string getFullPath(std::string const &base) const; - char *toNativeFilename() const throw(BadURIException); + char *toNativeFilename() const; /** * Returns a glib string version of this URI. |
