Commit MetaInfo

Revisionc1d06d8908bacc00703812197f101305fa17261e (tree)
Time2016-10-31 01:16:41
Author <exeal@user...>

Log Message

.

Change Summary

Incremental Difference

diff -r 7afdd7b04c25 -r c1d06d8908ba ascension/ascension/presentation/style-property.hpp
--- a/ascension/ascension/presentation/style-property.hpp Mon Oct 31 01:09:00 2016 +0900
+++ b/ascension/ascension/presentation/style-property.hpp Mon Oct 31 01:16:41 2016 +0900
@@ -27,7 +27,7 @@
2727 namespace ascension {
2828 namespace presentation {
2929 namespace styles {
30- template<typename T, int _initialValue> // decltype(_initialValue) should be T...
30+ template<typename T, T _initialValue> // decltype(_initialValue) should be T...
3131 struct Enumerated : public boost::mpl::identity<T> {
3232 static type initialValue() {return static_cast<type>(_initialValue);}
3333 };
diff -r 7afdd7b04c25 -r c1d06d8908ba ascension/ascension/presentation/styles/text-decor.hpp
--- a/ascension/ascension/presentation/styles/text-decor.hpp Mon Oct 31 01:09:00 2016 +0900
+++ b/ascension/ascension/presentation/styles/text-decor.hpp Mon Oct 31 01:16:41 2016 +0900
@@ -231,7 +231,10 @@
231231 * (http://www.w3.org/TR/css-text-decor-3/#text-emphasis-position-property)
232232 */
233233 typedef StyleProperty<
234- Enumerated<TextEmphasisPositionEnums, static_cast<int>(TextEmphasisPositionEnums::OVER) | static_cast<int>(TextEmphasisPositionEnums::RIGHT)>,
234+ Enumerated<
235+ TextEmphasisPositionEnums,
236+ static_cast<TextEmphasisPositionEnums>(static_cast<int>(TextEmphasisPositionEnums::OVER) | static_cast<int>(TextEmphasisPositionEnums::RIGHT))
237+ >,
235238 Inherited<true>
236239 > TextEmphasisPosition;
237240 #if 0
Show on old repository browser