diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CODESTYLE | 5 | ||||
-rw-r--r-- | src/driver/BH_diagnostics.cc | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/CODESTYLE b/src/CODESTYLE index d2784bb..85399a4 100644 --- a/src/CODESTYLE +++ b/src/CODESTYLE @@ -1,6 +1,6 @@ AHFinderDirect Code Style ========================= -$Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/AHFinderDirect/src/CODESTYLE,v 1.8 2005-02-01 14:58:52 jthorn Exp $ +$Header: /usr/local/svn/cvs-repositories/numrelcvs/AEIThorns/AHFinderDirect/src/CODESTYLE,v 1.9 2005-02-19 06:43:41 jthorn Exp $ This file documents some general programming conventions used in this thorn. @@ -248,7 +248,8 @@ C++ Templates ============= I use C++ templates, but not for anything fancy, just simple containers. -I instantiate all templates explicitly. +I instantiate all templates explicitly. I'm not (yet) using any of the +STL containers in this thorn. Some C++ compilers offer "automatic" template instantiation. In practice this often causes compilation to fail when the compiler can't find .cc diff --git a/src/driver/BH_diagnostics.cc b/src/driver/BH_diagnostics.cc index d67d95a..8cc4bf6 100644 --- a/src/driver/BH_diagnostics.cc +++ b/src/driver/BH_diagnostics.cc @@ -18,8 +18,6 @@ #include <assert.h> #include <math.h> -#include <vector> - #include "util_Table.h" #include "cctk.h" #include "cctk_Arguments.h" |