Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Fixed three warning #23

Merged
merged 3 commits into from
May 19, 2023
Merged

Fixed three warning #23

merged 3 commits into from
May 19, 2023

Conversation

Sallo97
Copy link
Contributor

@Sallo97 Sallo97 commented May 17, 2023

in C++11 streampos is called with std::ios::streampos, in C++17 it has been changed to std::streampos, so I modified where streampos is called to make the library compile in C++17.

In Histogram the int function "project" returns 0.5f that is a float, I just changed it to 0.

ColorConvGL was missing the virtual destructor.

Now the code can compile with C++17 without warning.

Sallo97 added 2 commits May 17, 2023 16:27
For compiling in C++17 std::ios::streampos needs to change to std::streampos
@Sallo97 Sallo97 changed the title changed call of streampos Fixed three warning May 17, 2023
@banterle banterle merged commit dda45bf into cnr-isti-vclab:develop May 19, 2023
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