independent from libloki, use namespace loki, remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@435 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
972ba9915b
commit
21341bc317
2 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
OBJ = main.o
|
OBJ = main.o
|
||||||
BIN = main-gcc
|
BIN = main-gcc
|
||||||
CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG
|
CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG
|
||||||
LIBS = -L../../lib -lloki
|
LIBS =
|
||||||
|
|
||||||
$(BIN): $(OBJ)
|
$(BIN): $(OBJ)
|
||||||
$(CXX) -o $(BIN) $(OBJ) $(LIBS)
|
$(CXX) -o $(BIN) $(OBJ) $(LIBS)
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include "../SmallObj/timer.h"
|
#include "../SmallObj/timer.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
using namespace Loki;
|
||||||
|
|
||||||
template <class Integral1, class Integral2>
|
template <class Integral1, class Integral2>
|
||||||
Integral2 RandomInt(Integral1 low, Integral2 up)
|
Integral2 RandomInt(Integral1 low, Integral2 up)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue