* src/misc/random.hh: Add include guard.
This commit is contained in:
parent
541705a36a
commit
7917841fbe
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2004-12-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/misc/random.hh: Add include guard.
|
||||
|
||||
2004-12-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/misc/random.hh (nrand, bmrand, prand): New functions.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,10 @@
|
|||
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
// 02111-1307, USA.
|
||||
|
||||
#include <cmath>
|
||||
#ifndef SPOT_MISC_RANDOM_HH
|
||||
# define SPOT_MISC_RANDOM_HH
|
||||
|
||||
# include <cmath>
|
||||
|
||||
namespace spot
|
||||
{
|
||||
|
|
@ -114,3 +117,5 @@ namespace spot
|
|||
int prand(double p);
|
||||
/// @}
|
||||
}
|
||||
|
||||
#endif // SPOT_MISC_RANDOM_HH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue