X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Ftape_file_matcher.cc;h=0be884c6ba7bc237031c7a763456249c38325747;hb=5ada17eba0195d90f0685776251b384efdf5168e;hp=835a951f8a739b5c90572eb6c4a2780e33de988a;hpb=449aab3c465bbbf66d221fac3d7ea559f1720357;p=ardour.git diff --git a/libs/ardour/tape_file_matcher.cc b/libs/ardour/tape_file_matcher.cc index 835a951f8a..0be884c6ba 100644 --- a/libs/ardour/tape_file_matcher.cc +++ b/libs/ardour/tape_file_matcher.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2007 Tim Mayberry + Copyright (C) 2007 Tim Mayberry 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 @@ -16,11 +16,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include +#include "pbd/error.h" -#include +#include "ardour/tape_file_matcher.h" -#include "i18n.h" +#include "pbd/i18n.h" + +using namespace std; namespace { @@ -38,9 +40,9 @@ TapeFileMatcher::TapeFileMatcher() tape_file_regex_string, REG_EXTENDED|REG_NOSUB))) { char msg[256]; - + regerror (err, &m_compiled_pattern, msg, sizeof (msg)); - + PBD::error << string_compose (_("Cannot compile tape track regexp for use (%1)"), msg) << endmsg; // throw }