summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vector.h b/src/vector.h
index 6bf6d81a..142bb077 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -19,8 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef VECTOR_H
-#define VECTOR_H
+#pragma once
#include <cmath>
@@ -183,5 +182,3 @@ inline bool operator == (const Vector &a, const Vector &b)
* Appends a string representation of a vector to the output stream.
*/
std::ostream& operator <<(std::ostream &os, const Vector &v);
-
-#endif // VECTOR_H