Skip to content

Commit 0acb544

Browse files
committed
- make the compilers happy pt3
(we need to make Windows compiler settings as picky as other platforms) Signed-off-by: cuneyt.ozdas <cuneyt.ozdas@autodesk.com>
1 parent ec6eebe commit 0acb544

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/OpenColorIO/fileformats/ctf/CTFTransform.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -431,18 +431,6 @@ CTFVersion GetMinimumVersion(const ConstCTFReaderTransformPtr & transform)
431431
return minimumVersion;
432432
}
433433

434-
const char * GetFirstElementValue(const FormatMetadataImpl::Elements & elements, const std::string & name)
435-
{
436-
for (auto & it : elements)
437-
{
438-
if (0 == Platform::Strcasecmp(name.c_str(), it.getElementName()))
439-
{
440-
return it.getElementValue();
441-
}
442-
}
443-
return "";
444-
}
445-
446434
const char * GetLastElementValue(const FormatMetadataImpl::Elements & elements, const std::string & name)
447435
{
448436
for (auto it = elements.rbegin(); it != elements.rend(); ++it)
@@ -472,13 +460,6 @@ void AddNonEmptyElement(FormatMetadataImpl & metadata, const char * name, const
472460
}
473461
}
474462

475-
void AddNonEmptyAttribute(FormatMetadataImpl & metadata, const char * name, const std::string & value)
476-
{
477-
if (!value.empty())
478-
{
479-
metadata.addAttribute(name, value.c_str());
480-
}
481-
}
482463
} // namespace
483464

484465
// This method copies the metadata from the argument into the transform object.

0 commit comments

Comments
 (0)