Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(20)

Side by Side Diff: lily/tie-performer.cc

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 This file is part of LilyPond, the GNU music typesetter. 2 This file is part of LilyPond, the GNU music typesetter.
3 3
4 Copyright (C) 1998--2020 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 1998--2020 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 5
6 LilyPond is free software: you can redistribute it and/or modify 6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or 8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
11 LilyPond is distributed in the hope that it will be useful, 11 LilyPond is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>. 17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
18 */ 18 */
19 19
20 #include "performer.hh" 20 #include "performer.hh"
21 21
22 #include "audio-item.hh" 22 #include "audio-item.hh"
23 #include "context.hh" 23 #include "context.hh"
24 #include "stream-event.hh" 24 #include "stream-event.hh"
25 #include "translator.icc" 25 #include "translator.icc"
26 #include <list> 26 #include <list>
27 27
28 using std::list;
29
28 struct Head_audio_event_tuple 30 struct Head_audio_event_tuple
29 { 31 {
30 Audio_element_info head_; 32 Audio_element_info head_;
31 // The end moment of the note, so we can calculate a skip and check whether 33 // The end moment of the note, so we can calculate a skip and check whether
32 // the note still goes on 34 // the note still goes on
33 Moment end_moment_; 35 Moment end_moment_;
34 Head_audio_event_tuple () {} 36 Head_audio_event_tuple () {}
35 Head_audio_event_tuple (Audio_element_info h, Moment m) 37 Head_audio_event_tuple (Audio_element_info h, Moment m)
36 { 38 {
37 head_ = h; 39 head_ = h;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 198
197 /* create */ 199 /* create */
198 "", 200 "",
199 201
200 /* read */ 202 /* read */
201 "tieWaitForNote", 203 "tieWaitForNote",
202 204
203 /* write */ 205 /* write */
204 "tieMelismaBusy" 206 "tieMelismaBusy"
205 ); 207 );
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b