summaryrefslogtreecommitdiff
path: root/src/ByteArrayDiskWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ByteArrayDiskWriter.h')
-rw-r--r--src/ByteArrayDiskWriter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h
index 6f24cca2..b38c9c99 100644
--- a/src/ByteArrayDiskWriter.h
+++ b/src/ByteArrayDiskWriter.h
@@ -42,7 +42,7 @@ namespace aria2 {
class ByteArrayDiskWriter : public DiskWriter {
private:
- std::stringstream buf;
+ std::stringstream _buf;
void clear();
public:
@@ -68,12 +68,12 @@ public:
void setString(const std::string& s)
{
- buf.str(s);
+ _buf.str(s);
}
std::string getString() const
{
- return buf.str();
+ return _buf.str();
}
};