aboutsummaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpp/nissy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/nissy.cpp b/cpp/nissy.cpp
index 36fb5f2..2c290a6 100644
--- a/cpp/nissy.cpp
+++ b/cpp/nissy.cpp
@@ -183,7 +183,7 @@ namespace nissy {
183 result.solutions.data(), stats, 183 result.solutions.data(), stats,
184 poll_status, poll_status_data); 184 poll_status, poll_status_data);
185 185
186 int size = result.solutions.find_first_of('\0') + 1; 186 int size = result.solutions.find_first_of('\0');
187 result.solutions.resize(size); 187 result.solutions.resize(size);
188 result.err = error{err}; 188 result.err = error{err};
189 189

Generated with cgit - Back to sebastiano.tronto.net