summaryrefslogtreecommitdiff
path: root/src/source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/source.cc')
-rw-r--r--src/source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/source.cc b/src/source.cc
index 9bdd60d..30290f4 100644
--- a/src/source.cc
+++ b/src/source.cc
@@ -35,8 +35,8 @@ bool buffer_init(Buffer* buffer, const Allocator* allocator,
buffer->file = file;
buffer->content = content;
- buffer->link = {};
buffer->allocator = allocator;
+ buffer->link = {};
return true;
}