# HG changeset patch # User klao # Date 1082738934 0 # Node ID 0d5a628cb184b83b400802734919da27bb385b63 # Parent f177fc597abdab4ab87f9497201d8b9d37f15b7b 3.4.0-asban megszuntettek a bug-ot. Egyaltalan nem hagyta leforditani a file-t, ha nem irtunk elet "typename" es "template" kulcsszot. Azota viszont mar a 3.3-as is gond nelkul forditja. diff -r f177fc597abd -r 0d5a628cb184 src/work/marci/bug/ansi_pedantic_bug.cc --- a/src/work/marci/bug/ansi_pedantic_bug.cc Fri Apr 23 13:31:34 2004 +0000 +++ b/src/work/marci/bug/ansi_pedantic_bug.cc Fri Apr 23 16:48:54 2004 +0000 @@ -27,10 +27,11 @@ public: GraphWrapper(Graph& _graph) : graph(&_graph) { } - template class NodeMap : public Graph::NodeMap { + template class NodeMap : public Graph::template NodeMap { + typedef typename Graph::template NodeMap Parent; public: NodeMap(const GraphWrapper& _G) : - Graph::NodeMap(*(_G.graph)) { } + Parent(*(_G.graph)) { } }; }; @@ -47,7 +48,7 @@ MaxFlow(const Graph& _g) : g(&_g) { } void augmentOnShortestPath() { ResGW res_graph(*g); - typename ResGW::NodeMap pred(res_graph); + typename ResGW::template NodeMap pred(res_graph); } };