PIMPLed and streamlined ICCStore (#3691)

This commit is contained in:
Flössie
2017-03-18 11:57:29 +01:00
parent 567ed3629c
commit 97caf21b5c
22 changed files with 941 additions and 841 deletions

View File

@@ -2,10 +2,12 @@
#include "clutstore.h"
#include "iccstore.h"
#include "imagefloat.h"
#include "opthelper.h"
#include "rt_math.h"
#include "imagefloat.h"
#include "stdimagesource.h"
#include "../rtgui/options.h"
namespace
@@ -284,7 +286,7 @@ void rtengine::HaldCLUT::splitClutFilename(
profile_name = "sRGB";
if (!name.empty()) {
for (const auto& working_profile : rtengine::getWorkingProfiles()) {
for (const auto& working_profile : rtengine::ICCStore::getWorkingProfiles()) {
if (
!working_profile.empty() // This isn't strictly needed, but an empty wp name should be skipped anyway
&& std::search(name.rbegin(), name.rend(), working_profile.rbegin(), working_profile.rend()) == name.rbegin()