From 5694bd6954baacd8bed0ef115bbfcf1e73f027b9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 8 Jun 2015 00:32:41 +0100 Subject: Tiny optimisation; Object default constructor calls make_uuid. --- src/reel_asset.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/reel_asset.cc b/src/reel_asset.cc index d56a492b..04f34904 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,10 @@ */ +/** @file src/reel_asset.cc + * @brief ReelAsset class. + */ + #include "raw_convert.h" #include "reel_asset.h" #include "asset.h" @@ -32,8 +36,7 @@ using boost::shared_ptr; using namespace dcp; ReelAsset::ReelAsset () - : Object (make_uuid ()) - , _asset_ref (_id) + : _asset_ref (_id) , _edit_rate (Fraction (24, 1)) , _intrinsic_duration (0) , _entry_point (0) -- cgit v1.2.3