diff --git a/algo_opt_examples.cpp b/algo_opt_examples.cpp index c35595d..c30587c 100644 --- a/algo_opt_examples.cpp +++ b/algo_opt_examples.cpp @@ -196,7 +196,7 @@ struct filler template static void do_fill(I first, I last, T val) { - memset(first, val, last-first); + std::memset(first, val, last-first); } }; @@ -421,3 +421,4 @@ int main() +