summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Ruby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Ruby.cpp')
-rw-r--r--cpp/src/Slice/Ruby.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Slice/Ruby.cpp b/cpp/src/Slice/Ruby.cpp
index 8b61d7947b0..40e6d2f3de5 100644
--- a/cpp/src/Slice/Ruby.cpp
+++ b/cpp/src/Slice/Ruby.cpp
@@ -296,9 +296,9 @@ Slice::Ruby::compile(const vector<string>& argv)
out.open(file.c_str());
if(!out)
{
- ostringstream os;
- os << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno);
- throw FileException(__FILE__, __LINE__, os.str());
+ ostringstream oss;
+ oss << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno);
+ throw FileException(__FILE__, __LINE__, oss.str());
}
FileTracker::instance()->addFile(file);
//