Commit 51eec69f authored by Lukas Werner's avatar Lukas Werner
Browse files

Mitigated some warnings

parent 0de2e1f6
......@@ -77,7 +77,7 @@ int main( int argc, char ** argv )
real_t spacing = real_c(1.0);
real_t radius = real_c(0.4);
real_t vMax = real_c(1.0);
int simulationSteps = 10;
size_t simulationSteps = 10;
size_t raytraceSkippedSteps = 10;
real_t dt = real_c(0.01);
......@@ -89,7 +89,7 @@ int main( int argc, char ** argv )
spacing = confBlock.getParameter<real_t>("spacing", spacing);
radius = confBlock.getParameter<real_t>("radius", radius);
simulationSteps = confBlock.getParameter<int>("simulationSteps", simulationSteps);
simulationSteps = confBlock.getParameter<size_t>("simulationSteps", simulationSteps);
raytraceSkippedSteps = confBlock.getParameter<size_t>("raytraceSkippedSteps", raytraceSkippedSteps);
blocks_x = confBlock.getParameter<uint_t>("blocks_x", blocks_x);
blocks_y = confBlock.getParameter<uint_t>("blocks_y", blocks_y);
......
......@@ -111,7 +111,7 @@ public:
inline const Vec3& getCameraPosition() const;
inline const Vec3& getLookAtPoint() const;
inline const Vec3& getUpVector() const;
inline const bool getTBufferOutputEnabled() const;
inline bool getTBufferOutputEnabled() const;
inline const std::string& getTBufferOutputDirectory() const;
//@}
......@@ -192,7 +192,7 @@ inline const Vec3& Raytracer::getUpVector() const {
*
* \return True if tbuffer output enabled, otherwise false.
*/
inline const bool Raytracer::getTBufferOutputEnabled() const {
inline bool Raytracer::getTBufferOutputEnabled() const {
return tBufferOutputEnabled_;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment