Ole лет назад: 9
Родитель
Сommit
eb07c6dd75
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      lib/luwra/tables.hpp

+ 7 - 1
lib/luwra/tables.hpp

@@ -128,7 +128,13 @@ namespace internal {
 
 		template <typename K> inline
 		TableAccessor<Path<A, K>> operator [](K&& subkey) const && {
-			return {state, {accessor, std::forward<K>(subkey)}};
+			return TableAccessor<Path<A, K>> {
+				state,
+				Path<A, K> {
+					accessor,
+					std::forward<K>(subkey)
+				}
+			};
 		}
 	};
 }