aboutsummaryrefslogtreecommitdiffstats
path: root/include/mcl/conversion.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mcl/conversion.hpp')
-rw-r--r--include/mcl/conversion.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mcl/conversion.hpp b/include/mcl/conversion.hpp
index 1000257..b5faa50 100644
--- a/include/mcl/conversion.hpp
+++ b/include/mcl/conversion.hpp
@@ -26,6 +26,7 @@ bool skipSpace(char *c, InputStream& is)
}
}
+#ifndef CYBOZU_DONT_USE_STRING
template<class InputStream>
void loadWord(std::string& s, InputStream& is)
{
@@ -39,6 +40,7 @@ void loadWord(std::string& s, InputStream& is)
s += c;
}
}
+#endif
template<class InputStream>
size_t loadWord(char *buf, size_t bufSize, InputStream& is)