Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7af5df34 authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut
Browse files

Fix : some little warnings

parent b30bf003
No related branches found
No related tags found
No related merge requests found
...@@ -119,14 +119,14 @@ namespace OpenViBE ...@@ -119,14 +119,14 @@ namespace OpenViBE
* *
* \param precision number of digits * \param precision number of digits
*/ */
virtual void setOutputFloatPrecision(size_t precision) = 0; virtual void setOutputFloatPrecision(const size_t precision) = 0;
/** /**
* \brief Set the format type that will be written or read. * \brief Set the format type that will be written or read.
* *
* \param typeID Could be Streamed Matrix, Signal, Covariance Matrix, etc ... * \param typeID Could be Streamed Matrix, Signal, Covariance Matrix, etc ...
*/ */
virtual void setFormatType(EStreamType typeID) = 0; virtual void setFormatType(const EStreamType typeID) = 0;
/** /**
* \brief Return the format type * \brief Return the format type
...@@ -140,7 +140,7 @@ namespace OpenViBE ...@@ -140,7 +140,7 @@ namespace OpenViBE
* *
* \param isActivated bool setting it to true will activate the LastMatrixOnly mode, false will disable it. * \param isActivated bool setting it to true will activate the LastMatrixOnly mode, false will disable it.
*/ */
virtual void setLastMatrixOnlyMode(bool isActivated) = 0; virtual void setLastMatrixOnlyMode(const bool isActivated) = 0;
/** /**
* \brief Return the state of the LastMatrixOnly mode * \brief Return the state of the LastMatrixOnly mode
......
...@@ -58,7 +58,7 @@ namespace OpenViBE ...@@ -58,7 +58,7 @@ namespace OpenViBE
*/ */
void setOutputFloatPrecision(const size_t precision) override { m_oPrecision = precision; } void setOutputFloatPrecision(const size_t precision) override { m_oPrecision = precision; }
void setFormatType(EStreamType typeID) override; void setFormatType(const EStreamType typeID) override;
EStreamType getFormatType() override { return m_inputTypeID; } EStreamType getFormatType() override { return m_inputTypeID; }
void setLastMatrixOnlyMode(const bool isActivated) override { m_lastMatrixOnly = isActivated; } void setLastMatrixOnlyMode(const bool isActivated) override { m_lastMatrixOnly = isActivated; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment