geotopmodel / geotop

GEOtop is a distributed model of the mass and energy balance of the hydrological cycle, which is applicable to simulations in continuum in small catchments. GEOtop deals with the effects of topography on the interaction between energy balance and hydrological cycle with peculiar solutions.
GNU General Public License v3.0
38 stars 29 forks source link

add missing guards to headers #95

Closed asartori86 closed 5 years ago

asartori86 commented 5 years ago

I cannot believe we didn't fix this earlier..

ElisaBortoli commented 5 years ago

Thank you Alberto. But is there a difference between writing #define GEOTOP_VECTOR_H and #define _GEOTOP_VECTOR_H? I remember that maybe the preprocessor adds the _ to the name we choose but I'm not sure...

asartori86 commented 5 years ago

there is no difference. It is just a name. I used clan-tidy to add the guards and it adds the _ in front by default