diff --git a/Builds/VisualStudio2012/beast.vcxproj b/Builds/VisualStudio2012/beast.vcxproj
index 3fab76e0d..0b37aeb61 100644
--- a/Builds/VisualStudio2012/beast.vcxproj
+++ b/Builds/VisualStudio2012/beast.vcxproj
@@ -73,7 +73,7 @@
-
+
diff --git a/Builds/VisualStudio2012/beast.vcxproj.filters b/Builds/VisualStudio2012/beast.vcxproj.filters
index a4a31b7aa..1765c75df 100644
--- a/Builds/VisualStudio2012/beast.vcxproj.filters
+++ b/Builds/VisualStudio2012/beast.vcxproj.filters
@@ -878,9 +878,6 @@
beast\mpl
-
- beast\mpl
-
beast
@@ -1025,6 +1022,9 @@
beast_asio\http
+
+ beast\mpl
+
diff --git a/beast/intrusive/ForwardList.h b/beast/intrusive/ForwardList.h
index 1cf6b069d..2a88225b9 100644
--- a/beast/intrusive/ForwardList.h
+++ b/beast/intrusive/ForwardList.h
@@ -150,10 +150,10 @@ class ForwardListIterator
std::forward_iterator_tag,
typename Container::value_type,
typename Container::difference_type,
- typename mpl::IfConst ::type,
- typename mpl::IfConst ::type>
{
@@ -167,10 +167,10 @@ protected:
public:
typedef typename Container::value_type value_type;
- typedef typename mpl::IfConst ::type pointer;
- typedef typename mpl::IfConst ::type reference;
diff --git a/beast/mpl.h b/beast/mpl.h
index 454f31174..051931e68 100644
--- a/beast/mpl.h
+++ b/beast/mpl.h
@@ -21,7 +21,7 @@
#define BEAST_MPL_H_INCLUDED
#include "mpl/AddConst.h"
-#include "mpl/IfConst.h"
+#include "mpl/IfCond.h"
#include "mpl/PointerToOther.h"
#include "mpl/RemoveConst.h"
#include "mpl/RemoveConstVolatile.h"
diff --git a/beast/mpl/IfConst.h b/beast/mpl/IfCond.h
similarity index 91%
rename from beast/mpl/IfConst.h
rename to beast/mpl/IfCond.h
index 19f73b021..499dfced7 100644
--- a/beast/mpl/IfConst.h
+++ b/beast/mpl/IfCond.h
@@ -17,8 +17,8 @@
*/
//==============================================================================
-#ifndef BEAST_MPL_IFCONST_H_INCLUDED
-#define BEAST_MPL_IFCONST_H_INCLUDED
+#ifndef BEAST_MPL_IFCOND_H_INCLUDED
+#define BEAST_MPL_IFCOND_H_INCLUDED
namespace beast {
namespace mpl {
@@ -28,13 +28,13 @@ namespace mpl {
/// Select between T1 or T2 depending on Condition.
/// @{
template
-struct IfConst
+struct IfCond
{
typedef T1 type;
};
template
-struct IfConst
+struct IfCond
{
typedef T2 type;
};
diff --git a/modules/beast_core/containers/DynamicList.h b/modules/beast_core/containers/DynamicList.h
index 38719e7c5..e048774c7 100644
--- a/modules/beast_core/containers/DynamicList.h
+++ b/modules/beast_core/containers/DynamicList.h
@@ -29,23 +29,23 @@ class DynamicListIterator
std::bidirectional_iterator_tag,
typename Container::value_type,
typename Container::difference_type,
- typename mpl::IfConst ::type,
- typename mpl::IfConst ::type>
{
private:
- typedef typename mpl::IfConst ::const_iterator,
typename List ::iterator>::type iterator_type;
- typedef typename mpl::IfConst ::type pointer;
- typedef typename mpl::IfConst ::type reference;