aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mgrtest.cpp
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-10-02 13:02:56 +0000
committerdanglassey <danglassey>2002-10-02 13:02:56 +0000
commitbf167779c3051180f10188b1a988def048a8d232 (patch)
tree2ad63a7d00c094e5cee55ec056f50e5b86576a14 /tests/mgrtest.cpp
parent44e038bb23d56043a458c29676d8ec42ee552fe0 (diff)
downloadsword-sf-cvs-bf167779c3051180f10188b1a988def048a8d232.tar.gz
sync with crosswire 20021002-1300
Diffstat (limited to 'tests/mgrtest.cpp')
-rw-r--r--tests/mgrtest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/mgrtest.cpp b/tests/mgrtest.cpp
index 6a77328..d02b26e 100644
--- a/tests/mgrtest.cpp
+++ b/tests/mgrtest.cpp
@@ -1,6 +1,9 @@
#include <swmgr.h>
#include <iostream>
#include <versekey.h>
+#ifndef NO_SWORD_NAMESPACE
+using namespace sword;
+#endif
int main(int argc, char **argv) {
SWMgr::debug = true;
@@ -26,6 +29,6 @@ int main(int argc, char **argv) {
for (mhc->Key("Gen 1:1"); mhc->Key() < (VerseKey) "Gen 1:10"; (*mhc)++)
std::cout << (const char *) *mhc << "\n";
}
- cin >> keypress;
+ std::cin >> keypress;
return 0;
}