diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2014-03-30 13:01:28 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2014-03-30 13:01:28 +0000 |
| commit | 88878512e24f1b2e1c0c1c0177921f8d848033c5 (patch) | |
| tree | e03da66c2c7459de03bc4d0e7a38971c8238dfac /src | |
| parent | End support for obsolete GNU hash. Supported either natively, through TR1 or ... (diff) | |
| download | inkscape-88878512e24f1b2e1c0c1c0177921f8d848033c5.tar.gz inkscape-88878512e24f1b2e1c0c1c0177921f8d848033c5.zip | |
Fix checking for unordered containers on incomplete C++11 implementations
(bzr r13232)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/tool/node.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index b874949f5..4582d998a 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -12,6 +12,10 @@ #ifndef SEEN_UI_TOOL_NODE_H #define SEEN_UI_TOOL_NODE_H +#if HAVE_CONFIG_H + #include "config.h" +#endif + #include <iterator> #include <iosfwd> #include <stdexcept> @@ -37,7 +41,7 @@ template <typename> class NodeIterator; } } -#if __cplusplus < 201103L +#if HAVE_TR1_UNORDERED_SET namespace std { namespace tr1 { template <typename N> struct hash< Inkscape::UI::NodeIterator<N> >; |
