Commit b99aa75
committed
Don't use std_vector for static vectors.
Some implementations of std::vector do dumb stuff and the default constructor
actually allocates memory. (Uggggggg.) This causes problems if an app wants
to set a custom memory allocator, because by the time they do that these
vectors will have already allocated memory, and then if that memory needs to be
reallocated, by the custom allocator, we run into problems.
This fixes #209
P4:70324641 parent 7b1fbfb commit b99aa75
File tree
1 file changed
+2
-2
lines changed- src/steamnetworkingsockets/clientlib
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
| 664 | + | |
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| |||
0 commit comments