From 5d496c41a7b5bf64ae11ec7202c9af143ae25520 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 31 May 2011 18:37:19 -0400 Subject: [PATCH] I was told I needed a copy ctor here. May as well see if this builds on Mac OS X. --- src/TimingSegments.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/TimingSegments.h b/src/TimingSegments.h index c1a867afa4..a738c2c682 100644 --- a/src/TimingSegments.h +++ b/src/TimingSegments.h @@ -14,6 +14,11 @@ struct BaseTimingSegment /** @brief Set up a BaseTimingSegment with default values. */ BaseTimingSegment(): startingRow(-1) {}; + + BaseTimingSegment(const BaseTimingSegment &b) + { + *this = b; + } /** * @brief Set up a BaseTimingSegment with specified values.