]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/prob.hh
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / include / prob.hh
index e90355c5eba65ca04ac80039e8c8c68a6a91adda..bcdb1250986e1572b4fa09493b68a7b773f88687 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2014  Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 2004--2015  Jan Nieuwenhuizen <janneke@gnu.org>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -34,8 +34,8 @@
 class Prob : public Smob<Prob>
 {
 public:
-  int print_smob (SCM, scm_print_state *);
-  SCM mark_smob ();
+  int print_smob (SCM, scm_print_state *) const;
+  SCM mark_smob () const;
   static SCM equal_p (SCM, SCM);
   static const char type_p_name_[];
   virtual ~Prob ();
@@ -55,7 +55,7 @@ protected:
 public:
   Prob (SCM, SCM);
   Prob (Prob const &);
-  virtual string name () const;
+  virtual std::string name () const;
   SCM type () const { return type_; }
   SCM get_property_alist (bool _mutable) const;
   SCM internal_get_property (SCM sym) const;