]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spacing-loose-columns.cc
Revert "Issue 4550 (2/2) Avoid "using namespace std;" in included files"
[lilypond.git] / lily / spacing-loose-columns.cc
index c3846e694ddd6ffe4b31c6618da5f7ae378c7b86..462a793b062cd57d718a7cd089008e6209c656eb 100644 (file)
@@ -28,6 +28,8 @@
 #include "moment.hh"
 #include "spacing-options.hh"
 
+using std::vector;
+
 /* Find the loose columns in POSNS, and drape them around the columns
    specified in BETWEEN-COLS.  */
 void
@@ -155,7 +157,7 @@ set_loose_columns (System *which, Column_x_positions const *posns)
             {
               Spring spring = Spacing_spanner::note_spacing (spacing, loose_col,
                                                              next_col, &options);
-              if (Note_spacing::has_interface (spacing))
+              if (has_interface<Note_spacing> (spacing))
                 spring = Note_spacing::get_spacing (spacing, next_col,
                                                     spring, options.increment_);