X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsource.cc;h=811b4dd6814dd541400b38895eae08f39c16ed88;hb=7785ac382ed511ed535adf77adc3c07649fbc9b5;hp=9d978d4fae93d9b5e20e8b86fed9f6daa7b331ba;hpb=fa60b01a20f21d6aff9c0923a0b76de9fe106c30;p=lilypond.git diff --git a/lily/source.cc b/lily/source.cc index 9d978d4fae..811b4dd681 100644 --- a/lily/source.cc +++ b/lily/source.cc @@ -14,15 +14,15 @@ Sources::Sources () { path_ = 0; - is_binary_ = false; } -void -Sources::set_binary (bool bo) + +Sources::Sources (Sources const &) { - is_binary_ = bo; + assert (false); } + void Sources::set_path (File_path *f) { @@ -64,16 +64,3 @@ Sources::~Sources () } } -Source_file * -Sources::get_sourcefile (char const *str0) -{ - for (vector::iterator i = sourcefiles_.begin(); - i != sourcefiles_.end (); i++) - { - if ((*i)->contains (str0)) - return *i; - } - - return 0; -} -