time to embrace #pragma once

This commit is contained in:
Ahmet Inan 2019-01-19 14:07:07 +01:00
commit c4b837b045
13 changed files with 13 additions and 51 deletions

View file

@ -4,8 +4,7 @@ Fast complex math
Copyright 2018 Ahmet Inan <inan@aicodix.de>
*/
#ifndef COMPLEX_HH
#define COMPLEX_HH
#pragma once
template <typename T>
class Complex
@ -119,4 +118,3 @@ static constexpr T arg(Complex<T> a)
return atan2(a.imag(), a.real());
}
#endif