summaryrefslogtreecommitdiffstats
path: root/RegularExpression.hxx.in
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2016-03-29 18:28:37 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-29 18:29:42 (GMT)
commit735c41ddb021a5ca0e8957591447acdb28a0f41b (patch)
tree82909b933a16bafcc760807a3481d04b1f5d6053 /RegularExpression.hxx.in
parentcd4fef3041be85e1ec9139a91efa8a96f74707c5 (diff)
downloadCMake-735c41ddb021a5ca0e8957591447acdb28a0f41b.zip
CMake-735c41ddb021a5ca0e8957591447acdb28a0f41b.tar.gz
CMake-735c41ddb021a5ca0e8957591447acdb28a0f41b.tar.bz2
KWSys 2016-03-29 (b51abb30)
Code extracted from: http://public.kitware.com/KWSys.git at commit b51abb307d3b40957cc508aa54d449d9b41f5537 (master). Upstream Shortlog ----------------- Ben Boeckel (1): 069a6b37 windows: check for _WIN32 rather than WIN32 Felix Geyer (1): b51abb30 SystemInformation: Fix spelling typos in comments
Diffstat (limited to 'RegularExpression.hxx.in')
-rw-r--r--RegularExpression.hxx.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/RegularExpression.hxx.in b/RegularExpression.hxx.in
index d0235d8..0bb700f 100644
--- a/RegularExpression.hxx.in
+++ b/RegularExpression.hxx.in
@@ -333,7 +333,7 @@ inline RegularExpression::RegularExpression (const std::string& s)
*/
inline RegularExpression::~RegularExpression ()
{
-//#ifndef WIN32
+//#ifndef _WIN32
delete [] this->program;
//#endif
}
@@ -396,7 +396,7 @@ inline bool RegularExpression::is_valid () const
inline void RegularExpression::set_invalid ()
{
-//#ifndef WIN32
+//#ifndef _WIN32
delete [] this->program;
//#endif
this->program = 0;