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; }
|
||||
//const std::vector<EncoderParameter_t>* GetEncoderParams() const { return &encoderparamsvec; }
|
||||
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 &OutputContainer() const { return output_container; }
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ public:
|
|||
{
|
||||
return( mTransport );
|
||||
}
|
||||
const int getPayloadType() const
|
||||
int getPayloadType() const
|
||||
{
|
||||
return( mPayloadType );
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ public:
|
|||
mControlUrl = controlUrl;
|
||||
}
|
||||
|
||||
const int getClock() const {
|
||||
int getClock() const {
|
||||
return( mClock );
|
||||
}
|
||||
void setClock( int clock ) {
|
||||
|
@ -157,10 +157,10 @@ public:
|
|||
void setSprops(const std::string &props) {
|
||||
mSprops = props;
|
||||
}
|
||||
const std::string getSprops() const {
|
||||
std::string getSprops() const {
|
||||
return ( mSprops );
|
||||
}
|
||||
const double getFrameRate() const {
|
||||
double getFrameRate() const {
|
||||
return( mFrameRate );
|
||||
}
|
||||
void setFrameRate( double frameRate ) {
|
||||
|
|
|
@ -48,8 +48,8 @@ public:
|
|||
unsigned int Id() const { return id; }
|
||||
const char *Name() const { return name; }
|
||||
const char *Path() const { return path; }
|
||||
const Schemes Scheme() const { return scheme; }
|
||||
const std::string SchemeString() const { return scheme_str; }
|
||||
Schemes Scheme() const { return scheme; }
|
||||
std::string SchemeString() const { return scheme_str; }
|
||||
};
|
||||
|
||||
#endif // ZM_STORAGE_H
|
||||
|
|
|
@ -52,7 +52,7 @@ class User {
|
|||
Copy(u); return *this;
|
||||
}
|
||||
|
||||
const int Id() const { return id; }
|
||||
int Id() const { return id; }
|
||||
const char *getUsername() const { return username; }
|
||||
const char *getPassword() const { return password; }
|
||||
bool isEnabled() const { return enabled; }
|
||||
|
|
Loading…
Reference in New Issue