mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Make StringValue noncopyable.
Change-Id: I5b02cf988aaa15c467fa62c96c951d2891bc43db
This commit is contained in:
@@ -140,7 +140,7 @@ void Storage::SavePersistent(std::ostream& os) const {
|
||||
}
|
||||
case NT_STRING_ARRAY: {
|
||||
bool first = true;
|
||||
for (auto elem : v.GetStringArray()) {
|
||||
for (auto& elem : v.GetStringArray()) {
|
||||
if (!first) {
|
||||
os << ',';
|
||||
first = false;
|
||||
|
||||
Reference in New Issue
Block a user