Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
Signed-off-by: CursedRock17 <[email protected]>

Update Matrix3x3.h

Signed-off-by: Lucas Wendland <[email protected]>

Update MinMax.h

Signed-off-by: Lucas Wendland <[email protected]>

Update QuadWord.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Quaternion.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Scalar.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Transform.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Vector3.h

Signed-off-by: Lucas Wendland <[email protected]>

Update buffer_core.h

Signed-off-by: Lucas Wendland <[email protected]>

Update buffer_core_interface.h

Signed-off-by: Lucas Wendland <[email protected]>

Update convert.h

Signed-off-by: Lucas Wendland <[email protected]>

Update exceptions.h

Signed-off-by: Lucas Wendland <[email protected]>

Update convert.h

Signed-off-by: Lucas Wendland <[email protected]>

Update utils.h

Signed-off-by: Lucas Wendland <[email protected]>

Update time.h

Signed-off-by: Lucas Wendland <[email protected]>

Update time_cache.h

Signed-off-by: Lucas Wendland <[email protected]>

Update transform_datatypes.h

Signed-off-by: Lucas Wendland <[email protected]>

Update transform_storage.h

Signed-off-by: Lucas Wendland <[email protected]>

Update utils.h

Signed-off-by: Lucas Wendland <[email protected]>

Update MinMax.h

Signed-off-by: Lucas Wendland <[email protected]>

Update QuadWord.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Quaternion.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Scalar.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Transform.h

Signed-off-by: Lucas Wendland <[email protected]>

Update Vector3.h

Signed-off-by: Lucas Wendland <[email protected]>

Update buffer_core.h

Signed-off-by: Lucas Wendland <[email protected]>

Update buffer_core_interface.h

Signed-off-by: Lucas Wendland <[email protected]>

Update convert.h

Signed-off-by: Lucas Wendland <[email protected]>

Update exceptions.h

Signed-off-by: Lucas Wendland <[email protected]>

Update convert.h

Signed-off-by: Lucas Wendland <[email protected]>

Update utils.h

Signed-off-by: Lucas Wendland <[email protected]>
  • Loading branch information
CursedRock17 committed Nov 7, 2024
1 parent f390cce commit 8a0c770
Show file tree
Hide file tree
Showing 20 changed files with 113 additions and 22 deletions.
9 changes: 7 additions & 2 deletions tf2/include/tf2/LinearMath/Matrix3x3.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ subject to the following restrictions:

#ifndef TF2__LINEARMATH__MATRIX3X3_H_
#define TF2__LINEARMATH__MATRIX3X3_H_

#warning This header is obsolete, please include tf2/LinearMath/Matrix3x3.hpp instead

# define MATRIX_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/Matrix3x3.hpp" instead
# ifdef _MSC_VER
# pragma message(MATRIX_HEADER_DEPERCATION)
# else
# warning MATRIX_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/Matrix3x3.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/MinMax.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__MINMAX_H_
#define TF2__LINEARMATH__MINMAX_H_

#warning This header is obsolete, please include tf2/LinearMath/MinMax.hpp instead
# define MINMAX_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/MinMax.hpp" instead
# ifdef _MSC_VER
# pragma message(MINMAX_HEADER_DEPERCATION)
# else
# warning MINMAX_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/MinMax.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/QuadWord.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__QUADWORD_H_
#define TF2__LINEARMATH__QUADWORD_H_

#warning This header is obsolete, please include tf2/LinearMath/QuadWord.hpp instead
# define QUAD_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/QuadWord.hpp" instead
# ifdef _MSC_VER
# pragma message(QUAD_HEADER_DEPERCATION)
# else
# warning QUAD_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/QuadWord.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/Quaternion.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__QUATERNION_H_
#define TF2__LINEARMATH__QUATERNION_H_

#warning This header is obsolete, please include tf2/LinearMath/Quaternion.hpp instead
# define QUATERNION_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/Quaternion.hpp" instead
# ifdef _MSC_VER
# pragma message(QUATERNION_HEADER_DEPERCATION)
# else
# warning QUATERNION_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/Quaternion.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/Scalar.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__SCALAR_H_
#define TF2__LINEARMATH__SCALAR_H_

#warning This header is obsolete, please include tf2/LinearMath/Scalar.hpp instead
# define SCALAR_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/Scalar.hpp" instead
# ifdef _MSC_VER
# pragma message(SCALAR_HEADER_DEPERCATION)
# else
# warning SCALAR_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/Scalar.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/Transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__TRANSFORM_H_
#define TF2__LINEARMATH__TRANSFORM_H_

#warning This header is obsolete, please include tf2/LinearMath/Transform.hpp instead
# define TRANSFORM_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/Transform.hpp" instead
# ifdef _MSC_VER
# pragma message(TRANSFORM_HEADER_DEPERCATION)
# else
# warning TRANSFORM_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/Transform.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/LinearMath/Vector3.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ subject to the following restrictions:
#ifndef TF2__LINEARMATH__VECTOR3_H_
#define TF2__LINEARMATH__VECTOR3_H_

#warning This header is obsolete, please include tf2/LinearMath/Vector3.hpp instead
# define VECTOR_HEADER_DEPERCATION This header is obsolete, please include "tf2/LinearMath/Vector3.hpp" instead
# ifdef _MSC_VER
# pragma message(VECTOR_HEADER_DEPERCATION)
# else
# warning VECTOR_HEADER_DEPERCATION
# endif

#include <tf2/LinearMath/Vector3.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/buffer_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
#ifndef TF2__BUFFER_CORE_H_
#define TF2__BUFFER_CORE_H_

#warning This header is obsolete, please include tf2/buffer_core.hpp instead
# define BUFFER_CORE_HEADER_DEPERCATION This header is obsolete, please include "tf2/buffer_core.hpp" instead
# ifdef _MSC_VER
# pragma message(BUFFER_CORE_HEADER_DEPERCATION)
# else
# warning BUFFER_CORE_HEADER_DEPERCATION
# endif

#include <tf2/buffer_core.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/buffer_core_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
#ifndef TF2__BUFFER_CORE_INTERFACE_H_
#define TF2__BUFFER_CORE_INTERFACE_H_

#warning This header is obsolete, please include tf2/buffer_core_interface.hpp instead
# define BUFFER_CORE_INTERFACE_HEADER_DEPERCATION This header is obsolete, please include "tf2/buffer_core_interface.hpp" instead
# ifdef _MSC_VER
# pragma message(BUFFER_CORE_INTERFACE_HEADER_DEPERCATION)
# else
# warning BUFFER_CORE_INTERFACE_HEADER_DEPERCATION
# endif

#include <tf2/buffer_core_interface.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
#ifndef TF2__CONVERT_H_
#define TF2__CONVERT_H_

#warning This header is obsolete, please include tf2/convert.hpp instead
# define CONVERT_HEADER_DEPERCATION This header is obsolete, please include "tf2/convert.hpp" instead
# ifdef _MSC_VER
# pragma message(CONVERT_HEADER_DEPERCATION)
# else
# warning CONVERT_HEADER_DEPERCATION
# endif

#include <tf2/convert.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/exceptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
#ifndef TF2__EXCEPTIONS_H_
#define TF2__EXCEPTIONS_H_

#warning This header is obsolete, please include tf2/exceptions.hpp instead
# define EXCEPTIONS_HEADER_DEPERCATION This header is obsolete, please include "tf2/exceptions.hpp" instead
# ifdef _MSC_VER
# pragma message(EXCEPTIONS_HEADER_DEPERCATION)
# else
# warning EXCEPTIONS_HEADER_DEPERCATION
# endif

#include <tf2/exceptions.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/impl/convert.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
#ifndef TF2__IMPL__CONVERT_H_
#define TF2__IMPL__CONVERT_H_

#warning This header is obsolete, please include tf2/impl/convert.hpp instead
# define CONVERT_HEADER_DEPERCATION This header is obsolete, please include "tf2/impl/convert.hpp" instead
# ifdef _MSC_VER
# pragma message(CONVERT_HEADER_DEPERCATION)
# else
# warning CONVERT_HEADER_DEPERCATION
# endif

#include <tf2/impl/convert.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/impl/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
#ifndef TF2__IMPL__UTILS_H_
#define TF2__IMPL__UTILS_H_

#warning This header is obsolete, please include tf2/impl/utils.hpp instead
# define UTILS_HEADER_DEPERCATION This header is obsolete, please include "tf2/impl/utils.hpp" instead
# ifdef _MSC_VER
# pragma message(UTILS_HEADER_DEPERCATION)
# else
# warning UTILS_HEADER_DEPERCATION
# endif

#include <tf2/impl/utils.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
#ifndef TF2__TIME_H_
#define TF2__TIME_H_

#warning This header is obsolete, please include tf2/time.hpp instead
# define TIME_HEADER_DEPERCATION This header is obsolete, please include "tf2/time.hpp" instead
# ifdef _MSC_VER
# pragma message(TIME_HEADER_DEPERCATION)
# else
# warning TIME_HEADER_DEPERCATION
# endif

#include <tf2/time.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/time_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
#ifndef TF2__TIME_CACHE_H_
#define TF2__TIME_CACHE_H_

#warning This header is obsolete, please include tf2/time_cache.hpp instead
# define TIME_CACHE_HEADER_DEPERCATION This header is obsolete, please include "tf2/time_cache.hpp" instead
# ifdef _MSC_VER
# pragma message(TIME_CACHE_HEADER_DEPERCATION)
# else
# warning TIME_CACHE_HEADER_DEPERCATION
# endif

#include <tf2/time_cache.hpp>

Expand Down
4 changes: 2 additions & 2 deletions tf2/include/tf2/time_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
#ifndef TF2__TIME_CACHE_HPP_
#define TF2__TIME_CACHE_HPP_

#include "tf2/visibility_control.h"

#include <chrono>
#include <memory>
#include <list>
#include <sstream>
#include <string>
#include <utility>

#include "tf2/visibility_control.h"

#include "tf2/transform_storage.hpp"
#include "tf2/exceptions.hpp"

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/transform_datatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
#ifndef TF2__TRANSFORM_DATATYPES_H_
#define TF2__TRANSFORM_DATATYPES_H_

#warning This header is obsolete, please include tf2/transform_datatypes.hpp instead
# define TRANSFORM_DATATYPES_HEADER_DEPERCATION This header is obsolete, please include "tf2/transform_datatypes.hpp" instead
# ifdef _MSC_VER
# pragma message(TRANSFORM_DATATYPES_HEADER_DEPERCATION)
# else
# warning TRANSFORM_DATATYPES_HEADER_DEPERCATION
# endif

#include <tf2/transform_datatypes.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/transform_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
#ifndef TF2__TRANSFORM_STORAGE_H_
#define TF2__TRANSFORM_STORAGE_H_

#warning This header is obsolete, please include tf2/transform_storage.hpp instead
# define TRANSFORM_STORAGE_HEADER_DEPERCATION This header is obsolete, please include "tf2/transform_storage.hpp" instead
# ifdef _MSC_VER
# pragma message(TRANSFORM_STORAGE_HEADER_DEPERCATION)
# else
# warning TRANSFORM_STORAGE_HEADER_DEPERCATION
# endif

#include <tf2/transform_storage.hpp>

Expand Down
7 changes: 6 additions & 1 deletion tf2/include/tf2/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
#ifndef TF2__UTILS_H_
#define TF2__UTILS_H_

#warning This header is obsolete, please include tf2/utils.hpp instead
# define UTILS_HEADER_DEPERCATION This header is obsolete, please include "tf2/utils.hpp" instead
# ifdef _MSC_VER
# pragma message(UTILS_HEADER_DEPERCATION)
# else
# warning UTILS_HEADER_DEPERCATION
# endif

#include <tf2/utils.hpp>

Expand Down
3 changes: 2 additions & 1 deletion tf2/include/tf2/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
#ifndef TF2__UTILS_HPP_
#define TF2__UTILS_HPP_

#include <tf2/visibility_control.h>

#include <tf2/LinearMath/Transform.hpp>
#include <tf2/LinearMath/Quaternion.hpp>
#include <tf2/impl/utils.hpp>
#include <tf2/visibility_control.h>

namespace tf2
{
Expand Down

0 comments on commit 8a0c770

Please sign in to comment.