diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-10 01:24:48 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-10 01:24:48 +0200 |
| commit | 13154bc1a9b341f46994607fdde2e725444a6e21 (patch) | |
| tree | 3fcf211b397092798b2aa39af4cc567d146a574c /src/rgb_xyz.cc | |
| parent | 9853cbf566fdfdea096333c4caa788c29fa5c57b (diff) | |
Remove String namespace from around compose().compose
Diffstat (limited to 'src/rgb_xyz.cc')
| -rw-r--r-- | src/rgb_xyz.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rgb_xyz.cc b/src/rgb_xyz.cc index 734d5a95..4e83944b 100644 --- a/src/rgb_xyz.cc +++ b/src/rgb_xyz.cc @@ -180,21 +180,21 @@ dcp::xyz_to_rgb ( if (cx < 0 || cx > 4095) { if (note) { - note.get()(NoteType::NOTE, String::compose("XYZ value %1 out of range", cx)); + note.get()(NoteType::NOTE, compose("XYZ value %1 out of range", cx)); } cx = max (min (cx, 4095), 0); } if (cy < 0 || cy > 4095) { if (note) { - note.get()(NoteType::NOTE, String::compose("XYZ value %1 out of range", cy)); + note.get()(NoteType::NOTE, compose("XYZ value %1 out of range", cy)); } cy = max (min (cy, 4095), 0); } if (cz < 0 || cz > 4095) { if (note) { - note.get()(NoteType::NOTE, String::compose("XYZ value %1 out of range", cz)); + note.get()(NoteType::NOTE, compose("XYZ value %1 out of range", cz)); } cz = max (min (cz, 4095), 0); } @@ -322,7 +322,7 @@ dcp::rgb_to_xyz ( } if (clamped && note) { - note.get()(NoteType::NOTE, String::compose("%1 XYZ value(s) clamped", clamped)); + note.get()(NoteType::NOTE, compose("%1 XYZ value(s) clamped", clamped)); } return xyz; |
