summaryrefslogtreecommitdiff
path: root/src/pstream.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-12 11:00:35 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-12 11:00:35 +0200
commit15f29d4852e01bc6c6fb802ee818d991142e2f36 (patch)
tree22c3f9a2c484ad0ed5047a23633fabf7190d3f51 /src/pstream.h
parentf7f909522a79b3467c730e1fcaf50f19d6c88e0b (diff)
downloadfork-ledger-15f29d4852e01bc6c6fb802ee818d991142e2f36.tar.gz
fork-ledger-15f29d4852e01bc6c6fb802ee818d991142e2f36.tar.bz2
fork-ledger-15f29d4852e01bc6c6fb802ee818d991142e2f36.zip
Refactor flag and pstream related types into ledger namespace
Diffstat (limited to 'src/pstream.h')
-rw-r--r--src/pstream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pstream.h b/src/pstream.h
index 2502fdac..a012e628 100644
--- a/src/pstream.h
+++ b/src/pstream.h
@@ -44,6 +44,8 @@
//#include <istream>
//#include <streambuf>
+namespace ledger {
+
class ptristream : public std::istream
{
class ptrinbuf : public std::streambuf
@@ -109,3 +111,5 @@ public:
rdbuf(&buf);
}
};
+
+} // namespace ledger