From ca54485061a9cfed5572ac6f8277f3cc5b13927f Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 5 Aug 2016 22:05:50 -0400 Subject: [PATCH] gcc/lunix --- cxx/filesystem.h | 3 ++- mpw-shell.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cxx/filesystem.h b/cxx/filesystem.h index 0462ee6..e1f152b 100644 --- a/cxx/filesystem.h +++ b/cxx/filesystem.h @@ -198,7 +198,8 @@ namespace filesystem { } path& remove_filename(); path& replace_filename(const path& replacement); - path& replace_extension(const path& replacement = path()); + path& replace_extension(/* const path& replacement = path() */); + path& replace_extension(const path& replacement); void swap(path& rhs) noexcept { std::swap(_path, rhs._path); diff --git a/mpw-shell.cpp b/mpw-shell.cpp index 7410ce6..68e38e6 100644 --- a/mpw-shell.cpp +++ b/mpw-shell.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "mpw-shell.h" #include "fdset.h"