diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-28 02:26:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-28 02:26:00 +0000 |
commit | 21d87ab288784e09205bb4e7047f9d41d3c18edd (patch) | |
tree | a0a7fae88bd65a1ab8e3426413ea17d721da5d2d /Carpet/CarpetLib/src/defs.hh | |
parent | b5a21f4e4df143a4174b52429539c73257d32f94 (diff) |
CarpetLib: Change static_assert to have two arguments
Change static_assert to have a second arguments, which is supposed to
be a string containing a description of the test.
darcs-hash:20070228022658-dae7b-3fb68ea0e0f557f2268cb95546ba0d70c58cda7a.gz
Diffstat (limited to 'Carpet/CarpetLib/src/defs.hh')
-rw-r--r-- | Carpet/CarpetLib/src/defs.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh index e22c45df6..f9f58cb51 100644 --- a/Carpet/CarpetLib/src/defs.hh +++ b/Carpet/CarpetLib/src/defs.hh @@ -24,7 +24,7 @@ using namespace std; // A compile time pseudo assert statement -#define static_assert(_x) do { typedef int ai[(_x) ? 1 : -1]; } while(0) +#define static_assert(_x, _msg) do { typedef int ai[(_x) ? 1 : -1]; } while(0) |