]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/completion-rest-engraver.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / completion-rest-engraver.cc
index b7e76c82bcaec21c8113bd0ac23342a2fee88cd4..a60b400efce786fcf6c36de6958f8f61d42e2f82 100644 (file)
@@ -19,7 +19,6 @@
 */
 
 #include <cctype>
-using namespace std;
 
 #include "dot-column.hh"
 #include "dots.hh"
@@ -97,7 +96,7 @@ Completion_rest_engraver::listen_rest (Stream_event *ev)
   Moment now = now_mom ();
   Moment musiclen = get_event_length (ev, now);
 
-  rest_end_mom_ = max (rest_end_mom_, (now + musiclen));
+  rest_end_mom_ = std::max (rest_end_mom_, (now + musiclen));
   do_nothing_until_ = Rational (0, 0);
 }