summaryrefslogtreecommitdiffstats
path: root/include/osl/time.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-02 18:24:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-03 06:47:35 +0000
commitba423579255848440318d6c468a604914901779b (patch)
tree7c4bc01a2c7210bca3e8a19a012b15312f37b588 /include/osl/time.h
parentuse SvxExtNumType in SvxNumberType (diff)
downloadcore-ba423579255848440318d6c468a604914901779b.tar.gz
core-ba423579255848440318d6c468a604914901779b.zip
Remove uses of SAL_CONSTEXPR in LIBO_INTERNAL_ONLY
Change-Id: I9a7dc7c83302b3361f056fcf6636bbba7672f15f Reviewed-on: https://gerrit.libreoffice.org/34840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/osl/time.h')
-rw-r--r--include/osl/time.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/time.h b/include/osl/time.h
index 44f9af817759..965675301ef6 100644
--- a/include/osl/time.h
+++ b/include/osl/time.h
@@ -44,10 +44,10 @@
struct TimeValue {
TimeValue() = default;
- SAL_CONSTEXPR TimeValue(sal_uInt32 seconds, sal_uInt32 nanoseconds):
+ constexpr TimeValue(sal_uInt32 seconds, sal_uInt32 nanoseconds):
Seconds(seconds), Nanosec(nanoseconds) {}
- template<typename Rep, typename Period> SAL_CONSTEXPR
+ template<typename Rep, typename Period> constexpr
TimeValue(std::chrono::duration<Rep, Period> const & duration):
Seconds(
std::chrono::duration_cast<std::chrono::nanoseconds>(