Add C++ standard to CMake for MSVC
This commit is contained in:
parent
f07596dbb5
commit
d8b55078ba
3 changed files with 18 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "addressbook.capnp.h"
|
||||
|
||||
static capn_text chars_to_text(const char *chars) {
|
||||
return (capn_text) {
|
||||
return {
|
||||
.len = (int) strlen(chars),
|
||||
.str = chars,
|
||||
.seg = NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue