cppcheck clean rtengine/dcp.h
This commit is contained in:
parent
9972c2e990
commit
ce3c5d4cf1
|
@ -1768,7 +1768,7 @@ inline void DCPProfile::hsdApply(const HsdTableInfo& table_info, const std::vect
|
|||
}
|
||||
}
|
||||
|
||||
bool DCPProfile::isValid()
|
||||
bool DCPProfile::isValid() const
|
||||
{
|
||||
return valid;
|
||||
}
|
||||
|
@ -1850,7 +1850,7 @@ void DCPStore::init(const Glib::ustring& rt_profile_dir, bool loadAll)
|
|||
}
|
||||
}
|
||||
|
||||
bool DCPStore::isValidDCPFileName(const Glib::ustring& filename) const
|
||||
bool DCPStore::isValidDCPFileName(const Glib::ustring& filename)
|
||||
{
|
||||
if (!Glib::file_test(filename, Glib::FILE_TEST_EXISTS) || Glib::file_test(filename, Glib::FILE_TEST_IS_DIR)) {
|
||||
return false;
|
||||
|
|
|
@ -63,7 +63,7 @@ public:
|
|||
bool getHasBaselineExposureOffset() const;
|
||||
|
||||
Illuminants getIlluminants() const;
|
||||
bool isValid();
|
||||
bool isValid() const;
|
||||
|
||||
void apply(
|
||||
Imagefloat* img,
|
||||
|
@ -159,7 +159,7 @@ public:
|
|||
|
||||
void init(const Glib::ustring& rt_profile_dir, bool loadAll = true);
|
||||
|
||||
bool isValidDCPFileName(const Glib::ustring& filename) const;
|
||||
static bool isValidDCPFileName(const Glib::ustring& filename);
|
||||
|
||||
DCPProfile* getProfile(const Glib::ustring& filename) const;
|
||||
DCPProfile* getStdProfile(const Glib::ustring& camShortName) const;
|
||||
|
|
Loading…
Reference in New Issue