[cig-commits] commit: Add include guard to constants.hxx
Mercurial
hg at geodynamics.org
Thu Mar 22 11:44:57 PDT 2012
changeset: 107:199e688f48c2
user: Walter Landry <wlandry at caltech.edu>
date: Thu Mar 22 11:35:43 2012 -0700
files: constants.hxx
description:
Add include guard to constants.hxx
diff -r 6cf74aa8c2b1 -r 199e688f48c2 constants.hxx
--- a/constants.hxx Thu Mar 22 10:54:23 2012 -0700
+++ b/constants.hxx Thu Mar 22 11:35:43 2012 -0700
@@ -1,3 +1,6 @@ const int N(64);
+#ifndef GAMR_CONSTANTS_HXX
+#define GAMR_CONSTANTS_HXX
+
const int N(64);
const int Nx(N);
const int Ny(N);
@@ -16,3 +19,5 @@ const double pi(atan(1.0)*4);
const double r2_inclusion=0.1;
const double epsilon=1;
+
+#endif
More information about the CIG-COMMITS
mailing list