aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Updates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Updates.cpp')
-rw-r--r--src/engine/Updates.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/engine/Updates.cpp b/src/engine/Updates.cpp
index 275ca2b..2775292 100644
--- a/src/engine/Updates.cpp
+++ b/src/engine/Updates.cpp
@@ -25,10 +25,10 @@
namespace Machina {
void
-write_set(SPtr<UpdateBuffer> buf,
- uint64_t subject,
- URIInt key,
- const Raul::Atom& value)
+write_set(SPtr<Raul::RingBuffer> buf,
+ uint64_t subject,
+ URIInt key,
+ const Raul::Atom& value)
{
const uint32_t update_type = UPDATE_SET;
buf->write(sizeof(update_type), &update_type);
@@ -41,10 +41,10 @@ write_set(SPtr<UpdateBuffer> buf,
}
uint32_t
-read_set(SPtr<UpdateBuffer> buf,
- uint64_t* subject,
- URIInt* key,
- Raul::Atom* value)
+read_set(SPtr<Raul::RingBuffer> buf,
+ uint64_t* subject,
+ URIInt* key,
+ Raul::Atom* value)
{
uint32_t update_type;
buf->read(sizeof(update_type), &update_type);