SpaceGroupUCL / depthmapX

depthmapX is a multi-platform Spatial Network Analysis Software
198 stars 52 forks source link

Fix formatting in genlib using ClangFormat #261

Closed pklampros closed 5 years ago

pklampros commented 5 years ago

With the options: IndentWidth: 4 ColumnLimit: 119 NamespaceIndentation: All

The PR without whitespace changes

Also changed ifndefs with #pragma once and changed the imports to be with quotes when part of depthmap and <> when part of the language/stl in this order:

"thisfile.h" (for the .h matching a .cpp file)

"genlib/otherfile.h" (for other files in this library)

<math.h> (other C/C++/STL headers)

Also removed (the oddly surviving) "paftl_old.h" file