Skip to content

Commit

Permalink
Fix building with Clang 3.7 (use delete[] instead of delete)
Browse files Browse the repository at this point in the history
  • Loading branch information
vedranmiletic committed Nov 28, 2015
1 parent 8f8f8ac commit bbe8925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix-vector-routing/examples/nms-p2p-nix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Array2D
{
for (size_t i = 0; i < m_xMax; i++)
delete[] p[i];
delete p;
delete[] p;
p = 0;
}

Expand Down

0 comments on commit bbe8925

Please sign in to comment.