Skip to content

Commit 19f1235

Browse files
spikehkuba-moo
authored andcommitted
ynl-gen-cpp: fix getting strings
Signed-off-by: David Wei <[email protected]>
1 parent ea1553c commit 19f1235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ynl-gen-cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def attr_put(self, ri, var):
432432
def _attr_get(self, ri, var):
433433
return (
434434
[
435-
f"{var}->{self.c_name}.assign(ynl_attr_get_str(attr), ynl_attr_data_len(attr));",
435+
f"{var}->{self.c_name}.assign(ynl_attr_get_str(attr));",
436436
],
437437
None,
438438
None,

0 commit comments

Comments
 (0)