We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f0acf commit f1138e8Copy full SHA for f1138e8
1 file changed
include/xtensor-zarr/xzarr_node.hpp
@@ -68,7 +68,7 @@ namespace xt
68
{
69
m_path = '/' + m_path;
70
}
71
- while (m_path.back() == '/')
+ while (!m_path.empty() && m_path.back() == '/')
72
73
m_path = m_path.substr(0, m_path.size() - 1);
74
0 commit comments