From 5528ce83587655ea2c35f0f9b25bd55f1c35b19b Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 10 Jul 2016 13:08:49 -0400 Subject: [PATCH] validate: Added debug info --- src/validate.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/validate.cpp b/src/validate.cpp index afe2e008..580ff039 100644 --- a/src/validate.cpp +++ b/src/validate.cpp @@ -102,13 +102,13 @@ static void autoAdjust ( { if (interval.range.overlap (track.range)) { + debug ("Input " + interval.dump ()); + debug ("Overlaps with " + track.dump ()); + if (! adjust) throw std::string ("You cannot overlap intervals. Adjust the start/end " "time, or specify the :adjust hint."); - std::cout << "# Overlap new " << interval.dump () << "\n" - << "# existing " << track.dump () << "\n"; - if (interval.range.start <= track.range.start) { // interval [--------)