Skip to content
Snippets Groups Projects
Unverified Commit 31a249af authored by Amy Stamile's avatar Amy Stamile Committed by GitHub
Browse files

Cleans Build Warnings (#5576)

* cleans build warnings

* remove unused variables
parent b5cec280
No related branches found
No related tags found
No related merge requests found
......@@ -147,9 +147,6 @@ namespace Isis {
csm::RasterGM *m_model; //! CSM sensor model
iTime m_refTime; //! The reference time that all model image times are relative to
SpiceRotation *m_bodyRotation = NULL; //!< Body spice rotation
SpiceRotation *m_instrumentRotation = NULL; //!< Instrument spice rotation
Longitude *m_solarLongitude = NULL;
void isisToCsmPixel(double line, double sample, csm::ImageCoord &csmPixel) const;
void csmToIsisPixel(csm::ImageCoord csmPixel, double &line, double &sample) const;
......
......@@ -471,7 +471,6 @@ namespace Isis {
if (!isValid()) {
return;
}
int tri = 0;
Triangle *triangles = (Triangle *)rtcSetNewGeometryBuffer(rtcMesh, RTC_BUFFER_TYPE_INDEX, 0, RTC_FORMAT_UINT3, sizeof(Triangle), numberOfPolygons());
// Add the body's face (vertex indices) to the Embree device's index buffer
for (int t = 0; t < numberOfPolygons(); ++t) {
......
......@@ -748,13 +748,18 @@ namespace Isis {
*
* @internal
*/
class ProcessIterator : public std::iterator<
std::forward_iterator_tag, int> {
class ProcessIterator {
public:
ProcessIterator(int position);
ProcessIterator(const ProcessIterator &other);
virtual ~ProcessIterator();
using value_type = int;
using iterator_category = std::forward_iterator_tag;
using difference_type = std::ptrdiff_t;
using pointer = int*;
using reference = int&;
ProcessIterator &operator++();
/**
......
......@@ -52,7 +52,7 @@ namespace Isis {
void tgocassisstitch(UserInterface &ui) {
QMap<QString, FileName> frameMap;
QMultiMap<QString, FileName> frameMap;
try {
// Open up the list of framelet files
......@@ -128,7 +128,7 @@ namespace Isis {
frameletList.fileName(i) );
}
return frameMap;
return std::move(frameMap);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment