diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
commit | 08ec7524df324e627bbb8d93c509f0d90badbe3b (patch) | |
tree | a640ae99a5e35b210352150feef4f71832b265c5 /cpp/src/Slice/RubyUtil.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.bz2 ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.xz ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.zip |
IceUtil cleanup (first commit)
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index b0f9f82a8ae..47bf17f6c52 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -10,6 +10,7 @@ #include <Slice/RubyUtil.h> #include <Slice/Checksum.h> #include <IceUtil/Functional.h> +#include <IceUtil/InputUtil.h> #ifdef __BCPLUSPLUS__ #include <iterator> @@ -18,6 +19,7 @@ using namespace std; using namespace Slice; using namespace IceUtil; +using namespace IceUtilInternal; namespace Slice { @@ -31,7 +33,7 @@ class CodeVisitor : public ParserVisitor { public: - CodeVisitor(IceUtil::Output&); + CodeVisitor(IceUtilInternal::Output&); virtual bool visitModuleStart(const ModulePtr&); virtual void visitModuleEnd(const ModulePtr&); @@ -1294,7 +1296,7 @@ Slice::Ruby::CodeVisitor::visitConst(const ConstPtr& p) case Slice::Builtin::KindLong: { IceUtil::Int64 l; - IceUtil::stringToInt64(value, l); + IceUtilInternal::stringToInt64(value, l); _out << value; break; } @@ -1759,7 +1761,7 @@ Slice::Ruby::getAbsolute(const ContainedPtr& cont, IdentStyle style, const strin } void -Slice::Ruby::printHeader(IceUtil::Output& out) +Slice::Ruby::printHeader(IceUtilInternal::Output& out) { static const char* header = "# **********************************************************************\n" |