diff options
author | danglassey <danglassey> | 2002-10-02 13:02:56 +0000 |
---|---|---|
committer | danglassey <danglassey> | 2002-10-02 13:02:56 +0000 |
commit | bf167779c3051180f10188b1a988def048a8d232 (patch) | |
tree | 2ad63a7d00c094e5cee55ec056f50e5b86576a14 /tests/parsekey.cpp | |
parent | 44e038bb23d56043a458c29676d8ec42ee552fe0 (diff) | |
download | sword-sf-cvs-bf167779c3051180f10188b1a988def048a8d232.tar.gz |
sync with crosswire 20021002-1300
Diffstat (limited to 'tests/parsekey.cpp')
-rw-r--r-- | tests/parsekey.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/parsekey.cpp b/tests/parsekey.cpp index 277abb5..bfda41e 100644 --- a/tests/parsekey.cpp +++ b/tests/parsekey.cpp @@ -4,6 +4,9 @@ #include <versekey.h> #include <localemgr.h> +#ifndef NO_SWORD_NAMESPACE +using namespace sword; +#endif int main(int argc, char **argv) { if ((argc != 2) && (argc != 3)) { @@ -23,7 +26,7 @@ int main(int argc, char **argv) { for (int i = 0; i < verses.Count(); i++) { VerseKey *element = dynamic_cast<VerseKey *>(verses.GetElement(i)); if (element) { - std::cout << (string(element->LowerBound()) + " - " + string(element->UpperBound())).c_str() << "\n"; + std::cout << (std::string(element->LowerBound()) + " - " + std::string(element->UpperBound())).c_str() << "\n"; } else std::cout << (const char *)*verses.GetElement(i) << "\n"; // else { |