MetaScale/nt2 — pull request #106 by pyrtsa (2011-11-11 13:57:57+00:00)
Title: A fix to the include guard issue #105

Hi, to save you some trouble, here's a patch to fix both the broken and the inconsistent include guards mentioned in issue https://github.com/MetaScale/nt2/issues/105. (Sorry, I couldn't find how to attach a pull request to an existing issue.)

I split the work into two commits, the first one only fixes those places where the same include guard was used in two places. The latter tries to enforce a naming scheme like `PATH_TO_FILE_HPP_INCLUDED` where leading, consecutive and trailing underscores are removed. You can ignore the latter commit if you will, but the first I deem as essential.

I didn't introduce new guards into any file where they were previously missing, so this patch shouldn't break anything.