Jelajahi Sumber

Fix #pragma once placement

Daniele Bartolini 12 tahun lalu
induk
melakukan
982befd997
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/core/Assert.h

+ 2 - 2
src/core/Assert.h

@@ -24,12 +24,12 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.
 */
 
+#pragma once
+
 #include <cstdlib>
 #include <cstdio>
 #include "Config.h"
 
-#pragma once
-
 #ifdef CROWN_DEBUG
 	#define CE_ERROR(file, line, message, ...) do { printf(message, __VA_ARGS__);\
 				printf("\n\tIn %s:%d\n\n", file, line); abort(); } while(0)