update sqlitecpp & merge property settings into properties
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
f847d30c06
commit
c98afbdfa6
39 changed files with 412 additions and 253 deletions
18
src/persistence/function_context.cpp
Normal file
18
src/persistence/function_context.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "function_context.hpp"
|
||||
|
||||
FunctionContext::FunctionContext(IkarusProject * project):
|
||||
_project{project} {}
|
||||
|
||||
FunctionContext::~FunctionContext() {
|
||||
if (_project->_function_contexts.size() == 1) {
|
||||
if (_project->error_message_buffer.empty()) {
|
||||
_project->error_message_buffer.push_back('\0');
|
||||
} else {
|
||||
_project->error_message_buffer[0] = '\0';
|
||||
}
|
||||
|
||||
_project->error_infos = {};
|
||||
}
|
||||
|
||||
_project->_function_contexts.pop();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue