Apply clang-format
This commit is contained in:
parent
a9c4bca679
commit
cb93d6900c
|
@ -14,8 +14,7 @@ namespace TagParser {
|
||||||
*
|
*
|
||||||
* A template specialization for each FieldMapBasedTag subclass must be provided.
|
* A template specialization for each FieldMapBasedTag subclass must be provided.
|
||||||
*/
|
*/
|
||||||
template <typename ImplementationType> class FieldMapBasedTagTraits {
|
template <typename ImplementationType> class FieldMapBasedTagTraits {};
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \class TagParser::FieldMapBasedTag
|
* \class TagParser::FieldMapBasedTag
|
||||||
|
|
|
@ -31,8 +31,7 @@ class Diagnostics;
|
||||||
*
|
*
|
||||||
* For an example of such a specialization see FileElementTraits<Mp4Atom> or FileElementTraits<EbmlElement>.
|
* For an example of such a specialization see FileElementTraits<Mp4Atom> or FileElementTraits<EbmlElement>.
|
||||||
*/
|
*/
|
||||||
template <typename ImplementationType> class FileElementTraits {
|
template <typename ImplementationType> class FileElementTraits {};
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \class TagParser::GenericFileElement
|
* \class TagParser::GenericFileElement
|
||||||
|
|
|
@ -13,8 +13,7 @@ template <class implementationType> class TagField;
|
||||||
*
|
*
|
||||||
* A template specialization for each TagField subclass must be provided.
|
* A template specialization for each TagField subclass must be provided.
|
||||||
*/
|
*/
|
||||||
template <typename ImplementationType> class TagFieldTraits {
|
template <typename ImplementationType> class TagFieldTraits {};
|
||||||
};
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief The TagField class is used by FieldMapBasedTag to store the fields.
|
* \brief The TagField class is used by FieldMapBasedTag to store the fields.
|
||||||
|
|
|
@ -822,7 +822,7 @@ struct SegmentData {
|
||||||
, sizeDenotationLength(0)
|
, sizeDenotationLength(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
SegmentData(SegmentData&&) = default;
|
SegmentData(SegmentData &&) = default;
|
||||||
|
|
||||||
/// \brief whether CRC-32 checksum is present
|
/// \brief whether CRC-32 checksum is present
|
||||||
bool hasCrc32;
|
bool hasCrc32;
|
||||||
|
|
|
@ -1357,8 +1357,8 @@ void Mp4Track::makeMedia(Diagnostics &diag)
|
||||||
codedLanguage = 0;
|
codedLanguage = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
diag.emplace_back(
|
diag.emplace_back(DiagLevel::Warning, "Assigned language \"" % *language + "\" is of an invalid format. Setting language to undefined.",
|
||||||
DiagLevel::Warning, "Assigned language \"" % *language + "\" is of an invalid format. Setting language to undefined.", "making mdhd atom");
|
"making mdhd atom");
|
||||||
codedLanguage = 0x55C4; // und(efined)
|
codedLanguage = 0x55C4; // und(efined)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,7 +187,7 @@ class AbortableProgressFeedback : public BasicProgressFeedback<AbortableProgress
|
||||||
public:
|
public:
|
||||||
explicit AbortableProgressFeedback(const Callback &callback, const Callback &percentageOnlyCallback = Callback());
|
explicit AbortableProgressFeedback(const Callback &callback, const Callback &percentageOnlyCallback = Callback());
|
||||||
explicit AbortableProgressFeedback(Callback &&callback = Callback(), Callback &&percentageOnlyCallback = Callback());
|
explicit AbortableProgressFeedback(Callback &&callback = Callback(), Callback &&percentageOnlyCallback = Callback());
|
||||||
AbortableProgressFeedback(const AbortableProgressFeedback&);
|
AbortableProgressFeedback(const AbortableProgressFeedback &);
|
||||||
|
|
||||||
bool isAborted() const;
|
bool isAborted() const;
|
||||||
void tryToAbort();
|
void tryToAbort();
|
||||||
|
@ -224,7 +224,7 @@ inline AbortableProgressFeedback::AbortableProgressFeedback(Callback &&callback,
|
||||||
/*!
|
/*!
|
||||||
* \brief Constructs a new AbortableProgressFeedback based on \a other.
|
* \brief Constructs a new AbortableProgressFeedback based on \a other.
|
||||||
*/
|
*/
|
||||||
inline AbortableProgressFeedback::AbortableProgressFeedback(const AbortableProgressFeedback& other)
|
inline AbortableProgressFeedback::AbortableProgressFeedback(const AbortableProgressFeedback &other)
|
||||||
: BasicProgressFeedback<AbortableProgressFeedback>(other)
|
: BasicProgressFeedback<AbortableProgressFeedback>(other)
|
||||||
, m_aborted(other.isAborted())
|
, m_aborted(other.isAborted())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue