diff options
Diffstat (limited to 'tests/mgrtest.cpp')
-rw-r--r-- | tests/mgrtest.cpp | 5 |
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; } |