-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed compilator warnings #108
Conversation
Have a good day, changes were accomplished in order to solve some compilation warnings. |
src/feature/gaussian.hh
Outdated
@@ -9,101 +9,116 @@ | |||
#include "lib/utils.hh" | |||
#include "lib/timer.hh" | |||
#include "common/common.hh" | |||
namespace pano { | |||
namespace pano | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most of this PR are not related to compiler warnings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a good day, automatic re-indentation process was accomplished by my IDE, I am disabling it in order to change the correct lines only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments added on really helpful changes.
src/lib/geometry.hh
Outdated
|
||
constexpr explicit Vector(T m_x = 0, T m_y = 0, T m_z = 0) : x(m_x), y(m_y), z(m_z) {} | ||
|
||
constexpr Vector(const Vector<T> &rhs) = default; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to keep
T *dest = ret.ptr(i); | ||
memcpy(cur_line, dest, sizeof(T) * w); | ||
{ // pad the border | ||
memcpy((void *)cur_line, (void *)dest, sizeof(T) * w); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to keep
Have a good day, fixes have been applied without re-indentation of the code. |
thanks! |
Compilator warnings were removed, same as shown at issue #107