Replaced ifdef guards with pragma once
This commit is contained in:
@@ -29,9 +29,7 @@
|
|||||||
// or implied, of Kearwood Gilbert.
|
// or implied, of Kearwood Gilbert.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#pragma once
|
||||||
#ifndef KRAKEN_VECTOR2I_H
|
|
||||||
#define KRAKEN_VECTOR2I_H
|
|
||||||
|
|
||||||
#include <functional> // for hash<>
|
#include <functional> // for hash<>
|
||||||
#include <limits> // for std::numeric_limits<>
|
#include <limits> // for std::numeric_limits<>
|
||||||
@@ -120,5 +118,3 @@ namespace std {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
#endif // KRAKEN_VECTOR2I_H
|
|
||||||
|
|||||||
@@ -29,8 +29,7 @@
|
|||||||
// or implied, of Kearwood Gilbert.
|
// or implied, of Kearwood Gilbert.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef KRAKEN_VECTOR3_H
|
#pragma once
|
||||||
#define KRAKEN_VECTOR3_H
|
|
||||||
|
|
||||||
#include <functional> // for hash<>
|
#include <functional> // for hash<>
|
||||||
|
|
||||||
@@ -151,5 +150,3 @@ namespace std {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
#endif // KRAKEN_VECTOR3_H
|
|
||||||
|
|||||||
@@ -29,8 +29,7 @@
|
|||||||
// or implied, of Kearwood Gilbert.
|
// or implied, of Kearwood Gilbert.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef KRAKEN_VECTOR4_H
|
#pragma once
|
||||||
#define KRAKEN_VECTOR4_H
|
|
||||||
|
|
||||||
#include <functional> // for hash<>
|
#include <functional> // for hash<>
|
||||||
|
|
||||||
@@ -125,5 +124,3 @@ namespace std {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
#endif // KRAKEN_VECTOR4_H
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@
|
|||||||
// authors and should not be interpreted as representing official policies, either expressed
|
// authors and should not be interpreted as representing official policies, either expressed
|
||||||
// or implied, of Kearwood Gilbert.
|
// or implied, of Kearwood Gilbert.
|
||||||
//
|
//
|
||||||
#ifndef KRHELPERS_H
|
|
||||||
#define KRHELPERS_H
|
#pragma once
|
||||||
|
|
||||||
#if defined(KRAKEN_USE_OPENGL)
|
#if defined(KRAKEN_USE_OPENGL)
|
||||||
|
|
||||||
@@ -64,5 +64,3 @@ namespace kraken {
|
|||||||
void SetUniform(GLint location, const Matrix4 &v);
|
void SetUniform(GLint location, const Matrix4 &v);
|
||||||
} // namespace kraken
|
} // namespace kraken
|
||||||
#endif // defined(KRAKEN_USE_OPENGL)
|
#endif // defined(KRAKEN_USE_OPENGL)
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user