Skip to content

Commit

Permalink
More export declarations on Windows. Refs #4399
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Apr 17, 2012
1 parent cea1566 commit 769a22f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Code/Mantid/Framework/Kernel/src/MandatoryValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Mantid
* @return True if the string is considered empty
*/
template<>
bool checkIsEmpty(const std::string & value)
DLLExport bool checkIsEmpty(const std::string & value)
{
return value.empty();
}
Expand All @@ -28,7 +28,7 @@ namespace Mantid
* @return True if the value is considered empty, see EmptyValues.h
*/
template<>
bool checkIsEmpty(const double & value)
DLLExport bool checkIsEmpty(const double & value)
{
if( std::fabs(value - Mantid::EMPTY_DBL()) < 1e-08 ) return true;
else return false;
Expand All @@ -39,7 +39,7 @@ namespace Mantid
* @return True if the value is considered empty, see EmptyValues.h
*/
template<>
bool checkIsEmpty(const int & value)
DLLExport bool checkIsEmpty(const int & value)
{
return (value == Mantid::EMPTY_INT());
}
Expand All @@ -49,7 +49,7 @@ namespace Mantid
* @return True if the value is considered empty, see EmptyValues.h
*/
template<>
bool checkIsEmpty(const long & value)
DLLExport bool checkIsEmpty(const long & value)
{
return (value == Mantid::EMPTY_LONG());
}
Expand Down

0 comments on commit 769a22f

Please sign in to comment.