Fix warnings reported by -Wignored-qualifiers
This commit is contained in:
parent
445d815071
commit
dffb2d2c87
|
@ -459,7 +459,7 @@ public:
|
||||||
VideoWriter GetOptVideoWriter() const { return videowriter; }
|
VideoWriter GetOptVideoWriter() const { return videowriter; }
|
||||||
//const std::vector<EncoderParameter_t>* GetEncoderParams() const { return &encoderparamsvec; }
|
//const std::vector<EncoderParameter_t>* GetEncoderParams() const { return &encoderparamsvec; }
|
||||||
const std::string &GetEncoderOptions() const { return encoderparams; }
|
const std::string &GetEncoderOptions() const { return encoderparams; }
|
||||||
const int OutputCodec() const { return output_codec; }
|
int OutputCodec() const { return output_codec; }
|
||||||
const std::string &Encoder() const { return encoder; }
|
const std::string &Encoder() const { return encoder; }
|
||||||
const std::string &OutputContainer() const { return output_container; }
|
const std::string &OutputContainer() const { return output_container; }
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ public:
|
||||||
{
|
{
|
||||||
return( mTransport );
|
return( mTransport );
|
||||||
}
|
}
|
||||||
const int getPayloadType() const
|
int getPayloadType() const
|
||||||
{
|
{
|
||||||
return( mPayloadType );
|
return( mPayloadType );
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,7 @@ public:
|
||||||
mControlUrl = controlUrl;
|
mControlUrl = controlUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int getClock() const {
|
int getClock() const {
|
||||||
return( mClock );
|
return( mClock );
|
||||||
}
|
}
|
||||||
void setClock( int clock ) {
|
void setClock( int clock ) {
|
||||||
|
@ -157,10 +157,10 @@ public:
|
||||||
void setSprops(const std::string &props) {
|
void setSprops(const std::string &props) {
|
||||||
mSprops = props;
|
mSprops = props;
|
||||||
}
|
}
|
||||||
const std::string getSprops() const {
|
std::string getSprops() const {
|
||||||
return ( mSprops );
|
return ( mSprops );
|
||||||
}
|
}
|
||||||
const double getFrameRate() const {
|
double getFrameRate() const {
|
||||||
return( mFrameRate );
|
return( mFrameRate );
|
||||||
}
|
}
|
||||||
void setFrameRate( double frameRate ) {
|
void setFrameRate( double frameRate ) {
|
||||||
|
|
|
@ -48,8 +48,8 @@ public:
|
||||||
unsigned int Id() const { return id; }
|
unsigned int Id() const { return id; }
|
||||||
const char *Name() const { return name; }
|
const char *Name() const { return name; }
|
||||||
const char *Path() const { return path; }
|
const char *Path() const { return path; }
|
||||||
const Schemes Scheme() const { return scheme; }
|
Schemes Scheme() const { return scheme; }
|
||||||
const std::string SchemeString() const { return scheme_str; }
|
std::string SchemeString() const { return scheme_str; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ZM_STORAGE_H
|
#endif // ZM_STORAGE_H
|
||||||
|
|
|
@ -52,7 +52,7 @@ class User {
|
||||||
Copy(u); return *this;
|
Copy(u); return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int Id() const { return id; }
|
int Id() const { return id; }
|
||||||
const char *getUsername() const { return username; }
|
const char *getUsername() const { return username; }
|
||||||
const char *getPassword() const { return password; }
|
const char *getPassword() const { return password; }
|
||||||
bool isEnabled() const { return enabled; }
|
bool isEnabled() const { return enabled; }
|
||||||
|
|
Loading…
Reference in New Issue