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

Unified Diff: lily/new-fingering-engraver.cc

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
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 side-by-side diff with in-line comments
Download patch
Index: lily/new-fingering-engraver.cc
diff --git a/lily/new-fingering-engraver.cc b/lily/new-fingering-engraver.cc
index e9dbfc246a97f5ddf67023d48d5c520b3ca407d7..420941d193a52c28e99f7809c79c6bd89066747d 100644
--- a/lily/new-fingering-engraver.cc
+++ b/lily/new-fingering-engraver.cc
@@ -31,6 +31,8 @@
#include "translator.icc"
+using std::vector;
+
struct Finger_tuple
{
Grob *head_;
@@ -233,7 +235,7 @@ New_fingering_engraver::position_scripts (SCM orientations,
}
}
- vector_sort (*scripts, less<Finger_tuple> ());
+ vector_sort (*scripts, std::less<Finger_tuple> ());
bool up_p = scm_is_true (scm_c_memq (ly_symbol2scm ("up"), orientations));
bool down_p = scm_is_true (scm_c_memq (ly_symbol2scm ("down"), orientations));

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