Skip to content
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

Merged
merged 3 commits into from
Sep 8, 2020
Merged

Removed compilator warnings #108

merged 3 commits into from
Sep 8, 2020

Conversation

sisco0
Copy link
Contributor

@sisco0 sisco0 commented Sep 8, 2020

Compilator warnings were removed, same as shown at issue #107

@sisco0
Copy link
Contributor Author

sisco0 commented Sep 8, 2020

Have a good day, changes were accomplished in order to solve some compilation warnings.

@@ -9,101 +9,116 @@
#include "lib/utils.hh"
#include "lib/timer.hh"
#include "common/common.hh"
namespace pano {
namespace pano
{
Copy link
Owner

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.


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;
Copy link
Contributor Author

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);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to keep

@sisco0
Copy link
Contributor Author

sisco0 commented Sep 8, 2020

Have a good day, fixes have been applied without re-indentation of the code.

@ppwwyyxx ppwwyyxx merged commit 024b961 into ppwwyyxx:master Sep 8, 2020
@ppwwyyxx
Copy link
Owner

ppwwyyxx commented Sep 8, 2020

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants