Skip to content

Commit

Permalink
🔖 λcommon v1.6.12: Fixed an error with clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Sep 23, 2018
1 parent 9a3c33b commit 369c07c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lambdacommon/lambdacommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#define LAMBDACOMMON_VERSION_MAJOR 1
#define LAMBDACOMMON_VERSION_MINOR 6
#define LAMBDACOMMON_VERSION_PATCH 11
#define LAMBDACOMMON_VERSION_PATCH 12

// Deletes the pointer and sets the variable to null. It's just simpler to write like this.
#define LCOMMON_DELETE_POINTER(pointer) delete pointer; pointer = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion include/lambdacommon/maths.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace lambdacommon
template<typename N>
double degrees(N radians)
{
return degrees(static_cast<double>(degrees));
return degrees(static_cast<double>(radians));
}
}
}
Expand Down

0 comments on commit 369c07c

Please sign in to comment.