COIN-OR::LEMON - Graph Library

Ticket #232: f5bc148f7e1f.patch

File f5bc148f7e1f.patch, 4.3 KB (added by Balazs Dezso, 16 years ago)

Additional fixes with include guards

  • lemon/bits/path_dump.h

    # HG changeset patch
    # User Balazs Dezso <deba@inf.elte.hu>
    # Date 1235391125 -3600
    # Node ID f5bc148f7e1f300a6b87580a85a8e673da9322dc
    # Parent  06e0fb20a97c9f9acbbd88cba806271b7c97ef08
    Fix the naming convention of guards and remove one unnecessary include
    
    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/bits/path_dump.h
    a b  
    1616 *
    1717 */
    1818
    19 #ifndef LEMON_BITS_PRED_MAP_PATH_H
    20 #define LEMON_BITS_PRED_MAP_PATH_H
     19#ifndef LEMON_BITS_PATH_DUMP_H
     20#define LEMON_BITS_PATH_DUMP_H
    2121
    2222#include <lemon/core.h>
    2323#include <lemon/concept_check.h>
  • lemon/bits/windows.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/bits/windows.h
    a b  
    1616 *
    1717 */
    1818
    19 #ifndef LEMON_WINDOWS_H
    20 #define LEMON_WINDOWS_H
     19#ifndef LEMON_BITS_WINDOWS_H
     20#define LEMON_BITS_WINDOWS_H
    2121
    2222#include <string>
    2323
  • lemon/concepts/digraph.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/digraph.h
    a b  
    1616 *
    1717 */
    1818
    19 #ifndef LEMON_CONCEPT_DIGRAPH_H
    20 #define LEMON_CONCEPT_DIGRAPH_H
     19#ifndef LEMON_CONCEPTS_DIGRAPH_H
     20#define LEMON_CONCEPTS_DIGRAPH_H
    2121
    2222///\ingroup graph_concepts
    2323///\file
     
    484484
    485485
    486486
    487 #endif // LEMON_CONCEPT_DIGRAPH_H
     487#endif
  • lemon/concepts/graph.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/graph.h
    a b  
    2020///\file
    2121///\brief The concept of Undirected Graphs.
    2222
    23 #ifndef LEMON_CONCEPT_GRAPH_H
    24 #define LEMON_CONCEPT_GRAPH_H
     23#ifndef LEMON_CONCEPTS_GRAPH_H
     24#define LEMON_CONCEPTS_GRAPH_H
    2525
    2626#include <lemon/concepts/graph_components.h>
    27 #include <lemon/concepts/graph.h>
    2827#include <lemon/core.h>
    2928
    3029namespace lemon {
  • lemon/concepts/graph_components.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/graph_components.h
    a b  
    2121///\brief The concept of graph components.
    2222
    2323
    24 #ifndef LEMON_CONCEPT_GRAPH_COMPONENTS_H
    25 #define LEMON_CONCEPT_GRAPH_COMPONENTS_H
     24#ifndef LEMON_CONCEPTS_GRAPH_COMPONENTS_H
     25#define LEMON_CONCEPTS_GRAPH_COMPONENTS_H
    2626
    2727#include <lemon/core.h>
    2828#include <lemon/concepts/maps.h>
  • lemon/concepts/heap.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/heap.h
    a b  
    2020///\file
    2121///\brief The concept of heaps.
    2222
    23 #ifndef LEMON_CONCEPT_HEAP_H
    24 #define LEMON_CONCEPT_HEAP_H
     23#ifndef LEMON_CONCEPTS_HEAP_H
     24#define LEMON_CONCEPTS_HEAP_H
    2525
    2626#include <lemon/core.h>
    2727#include <lemon/concept_check.h>
     
    243243    /// @}
    244244  } // namespace lemon
    245245}
    246 #endif // LEMON_CONCEPT_PATH_H
     246#endif
  • lemon/concepts/maps.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/maps.h
    a b  
    1616 *
    1717 */
    1818
    19 #ifndef LEMON_CONCEPT_MAPS_H
    20 #define LEMON_CONCEPT_MAPS_H
     19#ifndef LEMON_CONCEPTS_MAPS_H
     20#define LEMON_CONCEPTS_MAPS_H
    2121
    2222#include <lemon/core.h>
    2323#include <lemon/concept_check.h>
     
    213213
    214214} //namespace lemon
    215215
    216 #endif // LEMON_CONCEPT_MAPS_H
     216#endif
  • lemon/concepts/path.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/concepts/path.h
    a b  
    2121///\brief Classes for representing paths in digraphs.
    2222///
    2323
    24 #ifndef LEMON_CONCEPT_PATH_H
    25 #define LEMON_CONCEPT_PATH_H
     24#ifndef LEMON_CONCEPTS_PATH_H
     25#define LEMON_CONCEPTS_PATH_H
    2626
    2727#include <lemon/core.h>
    2828#include <lemon/concept_check.h>
     
    305305
    306306} // namespace lemon
    307307
    308 #endif // LEMON_CONCEPT_PATH_H
     308#endif
  • lemon/lp_skeleton.h

    diff -r 06e0fb20a97c -r f5bc148f7e1f lemon/lp_skeleton.h
    a b  
    1616 *
    1717 */
    1818
    19 #ifndef LEMON_LP_SKELETON
    20 #define LEMON_LP_SKELETON
     19#ifndef LEMON_LP_SKELETON_H
     20#define LEMON_LP_SKELETON_H
    2121
    2222#include <lemon/lp_base.h>
    2323
     
    226226
    227227} //namespace lemon
    228228
    229 #endif // LEMON_LP_SKELETON
     229#endif