diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/Serialiser.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index 7c1d49db..9f13c4fb 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -15,7 +15,6 @@ Checks: > -android-cloexec-fopen, -bugprone-branch-clone, -bugprone-forward-declaration-namespace, - -bugprone-not-null-terminated-result, -bugprone-parent-virtual-call, -bugprone-signed-char-misuse, -bugprone-suspicious-string-compare, diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp index 1f102dba..96bc7f7c 100644 --- a/src/Serialiser.cpp +++ b/src/Serialiser.cpp @@ -578,7 +578,7 @@ Serialiser::Impl::serialise_properties(Sord::Node id, if (p.second.type() == _world.uris().atom_URI && !strncmp(reinterpret_cast<const char*>(p.second.get_body()), "ingen:/main/", - 13)) { + 12)) { /* Value is a graph URI relative to the running engine. Chop the prefix and save the path relative to the graph file. This allows saving references to bundle resources. */ |