[vlmc-devel] TrackWorkflow: Make trackFromFormats inline
Yikai Lu
git at videolan.org
Wed Jun 29 08:20:15 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed Jun 29 15:09:06 2016 +0900| [eeef0e9bb394e65f5d2e312968c492e795399ac1] | committer: Yikai Lu
TrackWorkflow: Make trackFromFormats inline
> https://code.videolan.org/videolan/vlmc/commit/eeef0e9bb394e65f5d2e312968c492e795399ac1
---
src/Workflow/TrackWorkflow.cpp | 2 +-
src/Workflow/TrackWorkflow.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Workflow/TrackWorkflow.cpp b/src/Workflow/TrackWorkflow.cpp
index ad3c5cb..2074efa 100644
--- a/src/Workflow/TrackWorkflow.cpp
+++ b/src/Workflow/TrackWorkflow.cpp
@@ -69,7 +69,7 @@ TrackWorkflow::~TrackWorkflow()
delete m_clipsLock;
}
-Backend::ITrack*
+inline Backend::ITrack*
TrackWorkflow::trackFromFormats( Clip::Formats formats )
{
if ( formats.testFlag( Clip::Audio ) )
diff --git a/src/Workflow/TrackWorkflow.h b/src/Workflow/TrackWorkflow.h
index db346d9..c010265 100644
--- a/src/Workflow/TrackWorkflow.h
+++ b/src/Workflow/TrackWorkflow.h
@@ -62,7 +62,7 @@ class TrackWorkflow : public QObject
TrackWorkflow( quint32 trackId, Backend::IMultiTrack* multitrack );
~TrackWorkflow();
- Backend::ITrack* trackFromFormats( Clip::Formats formats );
+ inline Backend::ITrack* trackFromFormats( Clip::Formats formats );
void moveClip( const QUuid& id, qint64 startingFrame );
void resizeClip( const QUuid& id, qint64 begin, qint64 end );
More information about the Vlmc-devel
mailing list