[Lemon-commits] Balazs Dezso: Fix the naming convention of guard...
Lemon HG
hg at lemon.cs.elte.hu
Mon Feb 23 13:52:51 CET 2009
details: http://lemon.cs.elte.hu/hg/lemon/rev/f5bc148f7e1f
changeset: 546:f5bc148f7e1f
user: Balazs Dezso <deba [at] inf.elte.hu>
date: Mon Feb 23 13:12:05 2009 +0100
description:
Fix the naming convention of guards and remove one unnecessary
include
diffstat:
9 files changed, 23 insertions(+), 24 deletions(-)
lemon/bits/path_dump.h | 4 ++--
lemon/bits/windows.h | 4 ++--
lemon/concepts/digraph.h | 6 +++---
lemon/concepts/graph.h | 5 ++---
lemon/concepts/graph_components.h | 4 ++--
lemon/concepts/heap.h | 6 +++---
lemon/concepts/maps.h | 6 +++---
lemon/concepts/path.h | 6 +++---
lemon/lp_skeleton.h | 6 +++---
diffs (159 lines):
diff --git a/lemon/bits/path_dump.h b/lemon/bits/path_dump.h
--- a/lemon/bits/path_dump.h
+++ b/lemon/bits/path_dump.h
@@ -16,8 +16,8 @@
*
*/
-#ifndef LEMON_BITS_PRED_MAP_PATH_H
-#define LEMON_BITS_PRED_MAP_PATH_H
+#ifndef LEMON_BITS_PATH_DUMP_H
+#define LEMON_BITS_PATH_DUMP_H
#include <lemon/core.h>
#include <lemon/concept_check.h>
diff --git a/lemon/bits/windows.h b/lemon/bits/windows.h
--- a/lemon/bits/windows.h
+++ b/lemon/bits/windows.h
@@ -16,8 +16,8 @@
*
*/
-#ifndef LEMON_WINDOWS_H
-#define LEMON_WINDOWS_H
+#ifndef LEMON_BITS_WINDOWS_H
+#define LEMON_BITS_WINDOWS_H
#include <string>
diff --git a/lemon/concepts/digraph.h b/lemon/concepts/digraph.h
--- a/lemon/concepts/digraph.h
+++ b/lemon/concepts/digraph.h
@@ -16,8 +16,8 @@
*
*/
-#ifndef LEMON_CONCEPT_DIGRAPH_H
-#define LEMON_CONCEPT_DIGRAPH_H
+#ifndef LEMON_CONCEPTS_DIGRAPH_H
+#define LEMON_CONCEPTS_DIGRAPH_H
///\ingroup graph_concepts
///\file
@@ -484,4 +484,4 @@
-#endif // LEMON_CONCEPT_DIGRAPH_H
+#endif
diff --git a/lemon/concepts/graph.h b/lemon/concepts/graph.h
--- a/lemon/concepts/graph.h
+++ b/lemon/concepts/graph.h
@@ -20,11 +20,10 @@
///\file
///\brief The concept of Undirected Graphs.
-#ifndef LEMON_CONCEPT_GRAPH_H
-#define LEMON_CONCEPT_GRAPH_H
+#ifndef LEMON_CONCEPTS_GRAPH_H
+#define LEMON_CONCEPTS_GRAPH_H
#include <lemon/concepts/graph_components.h>
-#include <lemon/concepts/graph.h>
#include <lemon/core.h>
namespace lemon {
diff --git a/lemon/concepts/graph_components.h b/lemon/concepts/graph_components.h
--- a/lemon/concepts/graph_components.h
+++ b/lemon/concepts/graph_components.h
@@ -21,8 +21,8 @@
///\brief The concept of graph components.
-#ifndef LEMON_CONCEPT_GRAPH_COMPONENTS_H
-#define LEMON_CONCEPT_GRAPH_COMPONENTS_H
+#ifndef LEMON_CONCEPTS_GRAPH_COMPONENTS_H
+#define LEMON_CONCEPTS_GRAPH_COMPONENTS_H
#include <lemon/core.h>
#include <lemon/concepts/maps.h>
diff --git a/lemon/concepts/heap.h b/lemon/concepts/heap.h
--- a/lemon/concepts/heap.h
+++ b/lemon/concepts/heap.h
@@ -20,8 +20,8 @@
///\file
///\brief The concept of heaps.
-#ifndef LEMON_CONCEPT_HEAP_H
-#define LEMON_CONCEPT_HEAP_H
+#ifndef LEMON_CONCEPTS_HEAP_H
+#define LEMON_CONCEPTS_HEAP_H
#include <lemon/core.h>
#include <lemon/concept_check.h>
@@ -243,4 +243,4 @@
/// @}
} // namespace lemon
}
-#endif // LEMON_CONCEPT_PATH_H
+#endif
diff --git a/lemon/concepts/maps.h b/lemon/concepts/maps.h
--- a/lemon/concepts/maps.h
+++ b/lemon/concepts/maps.h
@@ -16,8 +16,8 @@
*
*/
-#ifndef LEMON_CONCEPT_MAPS_H
-#define LEMON_CONCEPT_MAPS_H
+#ifndef LEMON_CONCEPTS_MAPS_H
+#define LEMON_CONCEPTS_MAPS_H
#include <lemon/core.h>
#include <lemon/concept_check.h>
@@ -213,4 +213,4 @@
} //namespace lemon
-#endif // LEMON_CONCEPT_MAPS_H
+#endif
diff --git a/lemon/concepts/path.h b/lemon/concepts/path.h
--- a/lemon/concepts/path.h
+++ b/lemon/concepts/path.h
@@ -21,8 +21,8 @@
///\brief Classes for representing paths in digraphs.
///
-#ifndef LEMON_CONCEPT_PATH_H
-#define LEMON_CONCEPT_PATH_H
+#ifndef LEMON_CONCEPTS_PATH_H
+#define LEMON_CONCEPTS_PATH_H
#include <lemon/core.h>
#include <lemon/concept_check.h>
@@ -305,4 +305,4 @@
} // namespace lemon
-#endif // LEMON_CONCEPT_PATH_H
+#endif
diff --git a/lemon/lp_skeleton.h b/lemon/lp_skeleton.h
--- a/lemon/lp_skeleton.h
+++ b/lemon/lp_skeleton.h
@@ -16,8 +16,8 @@
*
*/
-#ifndef LEMON_LP_SKELETON
-#define LEMON_LP_SKELETON
+#ifndef LEMON_LP_SKELETON_H
+#define LEMON_LP_SKELETON_H
#include <lemon/lp_base.h>
@@ -226,4 +226,4 @@
} //namespace lemon
-#endif // LEMON_LP_SKELETON
+#endif
More information about the Lemon-commits
mailing list